Regex::getType()

int getType() Returns expression type. Return Value int

Regex::append()

ValueInterface append(string $expr) Parameters string $expr Return Value ValueInterface

Regex::create()

static Regex create(string $expr) Parameters string $expr Return Value Regex Exceptions InvalidArgumentException

Regex::addOption()

Regex addOption(string $option) Parameters string $option Return Value Regex

Regex::getRequiredOptions()

array getRequiredOptions() Returns the name of the required options. Override this method if you want to define required options. Return Value array

Regex::getDefaultOption()

string getDefaultOption() Returns the name of the default option. Override this method to define a default option. Return Value string

Regex

class Regex implements ValueInterface Constants START_FLAG END_FLAG BOUNDARY JOKER ESCAPING Methods static Regex create(string $expr) __construct(string $pattern, string $options = '', string $delimiter = null) string __toString() string render() Renders string representation of expression. string renderPattern() Renders string representation of pattern. bool isCaseSensitive() Returns value case sensitivity. int getType() Returns expre

Regex

class Regex extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. REGEX_FAILED_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint $message $pattern $htmlP

ReflectionExtractor

class ReflectionExtractor implements PropertyListExtractorInterface, PropertyTypeExtractorInterface, PropertyAccessExtractorInterface Extracts data using the reflection API. Properties static string[] $mutatorPrefixes static string[] $accessorPrefixes static string[] $arrayMutatorPrefixes Methods __construct() string[]|null getProperties(string $class, array $context = array()) Gets the list of properties available for the given class. Type[]|null getTypes(string

ReflectionExtractor::getTypes()

Type[]|null getTypes(string $class, string $property, array $context = array()) Gets types of a property. Parameters string $class string $property array $context Return Value Type[]|null