You are here

protected function LazyArrayCollection::doInitialize in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/collections/tests/Doctrine/Tests/LazyArrayCollection.php \Doctrine\Tests\LazyArrayCollection::doInitialize()

Do the initialization logic

Return value

void

Overrides AbstractLazyCollection::doInitialize

File

vendor/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',
  ));
}