class Collection implements ArrayAccess, Iterator (View source)

Properties

protected $elements

Methods

offsetExists($offset)

{@inheritdoc}

offsetGet($offset)

{@inheritdoc}

offsetSet($offset, $value)

{@inheritdoc}

offsetUnset($offset)

{@inheritdoc}

rewind()

{@inheritdoc}

current()

{@inheritdoc}

key()

{@inheritdoc}

next()

{@inheritdoc}

valid()

{@inheritdoc}

add(Element $element)

No description

get()

No description

__toString()

No description

Details

offsetExists($offset)

{@inheritdoc}

Parameters

$offset

See also

\ArrayAccess::offsetExists()

offsetGet($offset)

{@inheritdoc}

Parameters

$offset

See also

\ArrayAccess::offsetGet()

offsetSet($offset, $value)

{@inheritdoc}

Parameters

$offset
$value

See also

\ArrayAccess::offsetSet()

offsetUnset($offset)

{@inheritdoc}

Parameters

$offset

See also

\ArrayAccess::offsetUnset()

rewind()

{@inheritdoc}

See also

\Iterator::rewind()

current()

{@inheritdoc}

See also

\Iterator::current()

key()

{@inheritdoc}

See also

\Iterator::key()

next()

{@inheritdoc}

See also

\Iterator::next()

valid()

{@inheritdoc}

See also

\Iterator::valid()

add(Element $element)

No description

Parameters

Element $element

get()

No description

__toString()

No description