Class

Imagine\Image\Metadata\MetadataBag

class MetadataBag implements ArrayAccess, IteratorAggregate

An interface for Image Metadata

Methods

__construct(array $data = array())

getIterator()

{@inheritdoc}

offsetExists($offset)

{@inheritdoc}

offsetSet($offset, $value)

{@inheritdoc}

offsetUnset($offset)

{@inheritdoc}

offsetGet($offset)

{@inheritdoc}

array toArray()

Returns metadata as an array

Details

at line 22
public __construct(array $data = array())

Parameters

array $data

at line 30
public getIterator()

{@inheritdoc}

at line 38
public offsetExists($offset)

{@inheritdoc}

Parameters

$offset

at line 46
public offsetSet($offset, $value)

{@inheritdoc}

Parameters

$offset
$value

at line 54
public offsetUnset($offset)

{@inheritdoc}

Parameters

$offset

at line 62
public offsetGet($offset)

{@inheritdoc}

Parameters

$offset

at line 72
public array toArray()

Returns metadata as an array

Return Value

array An associative array