Symfony\Component\Config\Definition\Builder\NodeDefinition::validate
Sets an expression to run for the validation.
The expression receives the value of the node and must return it. It can modify it. An exception should be thrown when the node is not valid.
Signature
public function validate()
Returns
- ExprBuilder