class NodeIdentifierValidator extends AbstractValidator (View source)

Validator for node identifiers

Constants

PATTERN_MATCH_NODE_IDENTIFIER

A preg pattern to match against node identifiers

Methods

void
isValid(mixed $value)

Checks if the given value is a syntactically valid node identifier.

Details

protected void isValid(mixed $value)

Checks if the given value is a syntactically valid node identifier.

Parameters

mixed $value

The value that should be validated

Return Value

void