HasAttributesTrait
trait HasAttributesTrait
Trait HasAttributes.
Properties
protected array | $attributes | attributes |
Methods
array
toArray()
Get the instance as an array.
null
get(string $offset, null $default = null)
get
bool
offsetExists(mixed $offset)
Whether a offset exists.
mixed
offsetGet(mixed $offset)
Offset to retrieve.
offsetSet(mixed $offset, mixed $value)
Offset to set.
offsetUnset(mixed $offset)
Offset to unset.
array
jsonSerialize()
Specify data which should be serialized to JSON.
Details
at line 22
array
toArray()
Get the instance as an array.
at line 33
null
get(string $offset, null $default = null)
get
at line 43
bool
offsetExists(mixed $offset)
Whether a offset exists.
at line 53
mixed
offsetGet(mixed $offset)
Offset to retrieve.
at line 63
offsetSet(mixed $offset, mixed $value)
Offset to set.
at line 72
offsetUnset(mixed $offset)
Offset to unset.
at line 81
array
jsonSerialize()
Specify data which should be serialized to JSON.