Symfony\Component\Config\Definition\Builder\ExprBuilder::thenInvalid
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.
Signature
public function thenInvalid(string
$message )
Parameters
$message
— string
Returns
- ExprBuilder