Property | Type | Description | |
---|---|---|---|
$template | string | Template for error output - {{name}} - name of field - {{input}} - input value |
Method | Description | |
---|---|---|
__invoke ( mixed $input ) : boolean | Invoke | |
__toString ( ) : string | Cast to string | |
assert ( string $input ) : boolean | Assert | |
getTemplate ( ) : string | Get error template | |
validate ( mixed $input ) : boolean | Check input data |
protected string $template | ||
return | string |