Expression::getGlob()

Glob getGlob() Return Value Glob Exceptions LogicException

Expression::append()

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

Expression::create()

static Expression create(string $expr) Parameters string $expr Return Value Expression

Expression

class Expression 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. EXPRESSION_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 $expressi

Expression

class Expression Represents an expression. Methods __construct(string $expression) Constructor. string __toString() Gets the expression. Details __construct(string $expression) Constructor. Parameters string $expression An expression string __toString() Gets the expression. Return Value string The expression

ExprBuilder::thenEmptyArray()

ExprBuilder thenEmptyArray() Sets a closure returning an empty array. Return Value ExprBuilder

ExprBuilder::thenInvalid()

ExprBuilder thenInvalid(string $message) Sets a closure marking the value as invalid at validation time. if you want to add the value of the node in your message just use a %s placeholder. Parameters string $message Return Value ExprBuilder Exceptions InvalidArgumentException

ExprBuilder::thenUnset()

ExprBuilder thenUnset() Sets a closure unsetting this key of the array at validation time. Return Value ExprBuilder Exceptions UnsetKeyException

ExprBuilder::ifString()

ExprBuilder ifString() Tests if the value is a string. Return Value ExprBuilder

ExprBuilder::ifNull()

ExprBuilder ifNull() Tests if the value is null. Return Value ExprBuilder