Méthode |
Description |
|
__construct ( array $config = [] ) : void |
Constructor. |
|
append ( array $fields ) : void |
Appends additional fields to the schema. Will not overwrite existing fields if any conflicts
arise. |
|
cast ( $object, $key, $data, array $options = [] ) |
|
|
defaults ( $name = null ) |
|
|
fields ( $name = null, $key = null ) |
|
|
has ( $field ) |
|
|
is ( string $condition, string $field ) : boolean |
Detects properties of a field, i.e. if it supports arrays. |
|
merge ( object $schema ) : void |
Merges another Schema object into the current one. |
|
meta ( $name = null ) |
|
|
names ( ) |
|
|
offsetExists ( $key ) |
|
|
offsetGet ( $key ) |
|
|
offsetSet ( $key, $value ) |
|
|
offsetUnset ( $key ) |
|
|
reset ( ) |
|
|
type ( $field ) |
|
|