class ValidationBuilder
This class builds validation conditions.
Properties
$rules |
Methods
__construct(NodeDefinition $node) Constructor. | ||
ExprBuilder|ValidationBuilder | rule(Closure $closure = null) Registers a closure to run as normalization or an expression builder to build it if null is provided. |
Details
__construct(NodeDefinition $node)
Constructor.
ExprBuilder|ValidationBuilder rule(Closure $closure = null)
Registers a closure to run as normalization or an expression builder to build it if null is provided.
Please login to continue.