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 30
PropertiesAware
setProperties(array $props)
Replaces all properties.
at line 43
array
getProperties()
No description
at line 49
Property
getProperty(string $name)
No description
at line 59
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 71
PropertiesAware
removeProperty(string $name)
No description
at line 78
bool
hasProperty(string $name)
No description