PropertiesTrait
trait PropertiesTrait
Methods
$this
setProperties(array $properties)
Sets a collection of properties
$this
getProperty(string $property)
Returns a property
boolean
$this
getProperties()
Returns a collection of properties
Details
at line line 20
$this
setProperties(array $properties)
Sets a collection of properties
at line line 40
$this
setProperty(PhpProperty $property)
Adds a property
at line line 53
PhpProperty
getProperty(string $property)
Returns a property
at line line 69
boolean
hasProperty(PhpProperty|string $property)
Checks whether a property exists
at line line 83
$this
removeProperty(PhpProperty|string $property)
Removes a property
at line line 103
PhpProperty[]
getProperties()
Returns a collection of properties