Свойство | Type | Description | |
---|---|---|---|
$pattern | string | Regular expression. |
Méthode | Description | |
---|---|---|
__construct ( string $pattern ) | Constructor. | |
getPattern ( ) : string | Returns the validation regular expression. | |
isValid ( mixed $value ) : boolean | Validates a value. | |
setPattern ( string $pattern ) : self | Sets the validation regular expression. |
public __construct ( string $pattern ) | ||
$pattern | string | Regular expression |
public getPattern ( ) : string | ||
Résultat | string |
public setPattern ( string $pattern ) : self | ||
$pattern | string | Regular expression |
Résultat | self |