RegExpValidator implements ValidatorInterface
Table of Contents
Interfaces
Methods
- __construct() : mixed
- validate() : ValidationResult
Methods
__construct()
public
__construct(string $pattern[, int $flags = 0 ][, int $offset = 0 ]) : mixed
Parameters
- $pattern : string
- $flags : int = 0
- $offset : int = 0
validate()
public
validate(mixed $value) : ValidationResult
Parameters
- $value : mixed