Méthode | Description | |
---|---|---|
__construct ( array $options = [] ) | Constructor. | |
getDefault ( ) : array | Get default options. | |
offsetExists ( mixed $offset ) : boolean | Implemention of ArrayAccess. | |
offsetGet ( mixed $offset ) : mixed | Implemention of ArrayAccess. | |
offsetSet ( mixed $offset, mixed $value ) | Implemention of ArrayAccess. | |
offsetUnset ( mixed $offset ) | Implemention of ArrayAccess. | |
reconfigure ( array $options ) : |
Reconfigure to get new instance. | |
setDefault ( array $options ) | Set default options. |
Méthode | Description | |
---|---|---|
validateBool ( string $key, mixed $value ) : boolean | Validate bool value. | |
validateNaturalFloat ( string $key, mixed $value ) : float | Validate natural float value. | |
validateNaturalInt ( string $key, mixed $value ) : integer | Validate natural int value. | |
validateOptions ( array $options ) : array | Validate options. |
public static getDefault ( ) : array | ||
Résultat | array | $options |
public offsetExists ( mixed $offset ) : boolean | ||
$offset | mixed | |
Résultat | boolean |
public offsetUnset ( mixed $offset ) | ||
$offset | mixed |
public reconfigure ( array $options ) : |
||
$options | array | |
Résultat |
public static setDefault ( array $options ) | ||
$options | array |