Méthode |
Description |
|
__construct ( array $properties = [] ) |
Constructs a Media from the given dataset. |
|
__get ( $property ) |
|
|
__isset ( $property ) |
|
|
__set ( $property, $value ) |
|
|
configure ( array $properties ) |
Merges the given properties with the current ones. |
|
filledProperties ( ) : array |
Returns the filled properties. |
|
get ( string $property, mixed $default = null ) : mixed |
Returns the value of the given property. |
|
getIterator ( ) : ArrayIterator |
Returns an iterator for the media properties. |
|
has ( string $property ) |
Returns if there is any value for the given property. |
|
jsonSerialize ( ) : string |
Returns serialized properties. |
|
properties ( ) : array |
Returns the entire set of properties. |
|
set ( string $property, string $value ) |
Sets the value of the given property. |
|
setDefault ( string $property, string $default ) |
Sets the value of a property if it is empty. |
|
setDefaults ( array $properties ) |
Sets default values. |
|
setProperties ( array $properties ) |
Sets the entire set of properties. |
|