class ValidationBuilder

This class builds validation conditions.

Properties

$rules

Methods

__construct(NodeDefinition $node)

No description

ExprBuilder|$this
rule(Closure $closure = null)

Registers a closure to run as normalization or an expression builder to build it if null is provided.

Details

at line line 24
__construct(NodeDefinition $node)

Parameters

NodeDefinition $node

at line line 34
ExprBuilder|$this rule(Closure $closure = null)

Registers a closure to run as normalization or an expression builder to build it if null is provided.

Parameters

Closure $closure

Return Value

ExprBuilder|$this