PropertiesAware
trait PropertiesAware
internal |
Methods
setProperties(array $props)
Replaces all properties.
array
getProperties()
No description
getProperty(string $name)
No description
addProperty(string $name, mixed $value = null, bool $overwrite = false)
Adds a property. If it already exists, throws an exception or overwrites it if $overwrite is true.
removeProperty(string $name)
No description
bool
hasProperty(string $name)
No description
Details
at line 29
PropertiesAware
setProperties(array $props)
Replaces all properties.
at line 42
array
getProperties()
No description
at line 48
Property
getProperty(string $name)
No description
at line 58
Property
addProperty(string $name, mixed $value = null, bool $overwrite = false)
Adds a property. If it already exists, throws an exception or overwrites it if $overwrite is true.
at line 70
PropertiesAware
removeProperty(string $name)
No description
at line 77
bool
hasProperty(string $name)
No description