MetadataBag
class MetadataBag implements ArrayAccess, IteratorAggregate, Countable
The container of the data extracted from metadata.
Methods
__construct(array $data = array())
No description
mixed
get(string $key, mixed|null $default = null)
Returns the metadata key, default value if it does not exist.
count()
{@inheritdoc}
getIterator()
{@inheritdoc}
offsetExists($offset)
{@inheritdoc}
offsetSet($offset, $value)
{@inheritdoc}
offsetUnset($offset)
{@inheritdoc}
offsetGet($offset)
{@inheritdoc}
array
toArray()
Returns metadata as an associative array.
Details
at line 27
__construct(array $data = array())
at line 40
mixed
get(string $key, mixed|null $default = null)
Returns the metadata key, default value if it does not exist.
at line 50
count()
{@inheritdoc}
at line 60
getIterator()
{@inheritdoc}
at line 70
offsetExists($offset)
{@inheritdoc}
at line 80
offsetSet($offset, $value)
{@inheritdoc}
at line 90
offsetUnset($offset)
{@inheritdoc}
at line 100
offsetGet($offset)
{@inheritdoc}
at line 110
array
toArray()
Returns metadata as an associative array.