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

UnexpectedValueException

class UnexpectedValueException extends UnexpectedValueException implements ExceptionInterface UnexpectedValueException.

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 FileException 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

Unescaper::unescapeSingleQuotedString()

string unescapeSingleQuotedString(string $value) Unescapes a single quoted string. Parameters string $value A single quoted string Return Value string The unescaped string

Unescaper::unescapeDoubleQuotedString()

string unescapeDoubleQuotedString(string $value) Unescapes a double quoted string. Parameters string $value A double quoted string Return Value string The unescaped string