abstract class AbstractData implements Countable
Methods
__construct(array $properties)
|
||
Boolean |
has(string $property)
Returns true if data has property. |
|
mixed |
get(string $property)
Returns the property value given its name. |
|
AbstractData |
set(string $property, mixed $value)
Sets the property value given its name. |
|
array |
keys()
Returns all property names. |
|
array |
all()
Returns all properties and their values. |
|
count()
{@inheritdoc} |
Details
at line 20
public
__construct(array $properties)
at line 31
public Boolean
has(string $property)
Returns true if data has property.
at line 44
public mixed
get(string $property)
Returns the property value given its name.
at line 61
public AbstractData
set(string $property, mixed $value)
Sets the property value given its name.
at line 73
public array
keys()
Returns all property names.
at line 83
public array
all()
Returns all properties and their values.
at line 91
public
count()
{@inheritdoc}