Skip to content

Json

Properties

template

protected $template

Methods

__construct

public __construct(array $options = []): mixed

Parameters:

Parameter Type Description
$options array = [
'message' => '',
'template' => '',
'depth' => 512,
'flags' => 0,
'allowEmpty' => false
]

validate

public validate(\Phalcon\Filter\Validation $validation, mixed $field): bool

Parameters:

Parameter Type Description
$validation \Phalcon\Filter\Validation
$field mixed