Filter
Less than 1 minute
Filter
Properties
type
public int $type
options
public int $options
Methods
__construct
Create a new Filter rule.
public __construct(int $type, int $options = []): void
Parameters
Parameter | Type | Description |
---|---|---|
$type | int | The filter type to apply. See FILTER_VALIDATE_* constants at https://www.php.net/manual/en/filter.constants.php#constant.filter-validate-bool |
$options | int | Additional options for the filter. See https://www.php.net/manual/en/filter.filters.validate.php |
evaluate
public evaluate(mixed $propertyValue, \ReflectionProperty $property): bool
Parameters
Parameter | Type | Description |
---|---|---|
$propertyValue | mixed | |
$property | \ReflectionProperty |
Generated by Hazaar API Doc Generator