You are here

public function AbstractLazyCollection::offsetGet in Plug 7

File

lib/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php, line 290

Class

AbstractLazyCollection
Lazy collection that is backed by a concrete collection

Namespace

Doctrine\Common\Collections

Code

public function offsetGet($offset) {
  $this
    ->initialize();
  return $this->collection
    ->offsetGet($offset);
}