PropertyBag
Represents properties.
Tags
Table of Contents
- $properties : array<string|int, mixed>
- Wraps any number of custom properties.
- addProperty() : self
- getProperties() : array<string|int, AbstractProperty>
- removeProperty() : self
Properties
$properties
Wraps any number of custom properties.
private
array<string|int, mixed>
$properties
= []
Tags
Methods
addProperty()
public
addProperty(AbstractProperty $property) : self
Parameters
- $property : AbstractProperty
Return values
self —getProperties()
public
getProperties() : array<string|int, AbstractProperty>
Return values
array<string|int, AbstractProperty> —removeProperty()
public
removeProperty(AbstractProperty $property) : self
Parameters
- $property : AbstractProperty