You are here

protected function LazyArrayCollection::doInitialize in Plug 7

Do the initialization logic

Return value

void

Overrides AbstractLazyCollection::doInitialize

File

lib/doctrine/collections/tests/Doctrine/Tests/LazyArrayCollection.php, line 18

Class

LazyArrayCollection
Simple lazy collection that used an ArrayCollection as backed collection

Namespace

Doctrine\Tests

Code

protected function doInitialize() {
  $this->collection = new ArrayCollection(array(
    'a',
    'b',
    'c',
  ));
}