UniqueEntity::getDefaultOption()

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

UniqueEntity

class UniqueEntity extends Constraint Constraint for the Unique Entity validator. 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. NOT_UNIQUE_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to

UnexpectedTypeException

class UnexpectedTypeException extends FileException Methods __construct($value, $expectedType) Details __construct($value, $expectedType) Parameters $value $expectedType

UnexpectedTypeException

class UnexpectedTypeException extends ValidatorException Methods __construct($value, $expectedType) Details __construct($value, $expectedType) Parameters $value $expectedType

UnexpectedTypeException

class UnexpectedTypeException extends RuntimeException Thrown when a value does not match an expected type. Methods __construct(mixed $value, PropertyPathInterface $path, int $pathIndex) Details __construct(mixed $value, PropertyPathInterface $path, int $pathIndex) Parameters mixed $value The unexpected value found while traversing property path PropertyPathInterface $path The property path int $pathIndex The property path index when the unex

UnexpectedTypeException

class UnexpectedTypeException extends InvalidArgumentException Thrown when a method argument had an unexpected type. Methods __construct($value, $expectedType) Details __construct($value, $expectedType) Parameters $value $expectedType

UnexpectedTypeException

class UnexpectedTypeException extends InvalidArgumentException Methods __construct($value, $expectedType) Details __construct($value, $expectedType) Parameters $value $expectedType

UnexpectedValueException

class UnexpectedValueException extends UnexpectedValueException implements ExceptionInterface UnexpectedValueException.

Unescaper

class Unescaper Unescaper encapsulates unescaping rules for single and double-quoted YAML strings. Constants REGEX_ESCAPED_CHARACTER Regex fragment that matches an escaped character in a double quoted string. Methods string unescapeSingleQuotedString(string $value) Unescapes a single quoted string. string unescapeDoubleQuotedString(string $value) Unescapes a double quoted string. Details string unescapeSingleQuotedString(string $value)

UndefinedOptionsException

class UndefinedOptionsException extends InvalidArgumentException Exception thrown when an undefined option is passed. You should remove the options in question from your code or define them beforehand.