You are here

public function CollectionTest::fillMatchingFixture in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/CollectionTest.php \Doctrine\Tests\Common\Collections\CollectionTest::fillMatchingFixture()
3 calls to CollectionTest::fillMatchingFixture()
CollectionTest::testMatching in vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/CollectionTest.php
@group DDC-1637
CollectionTest::testMatchingOrdering in vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/CollectionTest.php
@group DDC-1637
CollectionTest::testMatchingSlice in vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/CollectionTest.php
@group DDC-1637

File

vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/CollectionTest.php, line 198

Class

CollectionTest

Namespace

Doctrine\Tests\Common\Collections

Code

public function fillMatchingFixture() {
  $std1 = new \stdClass();
  $std1->foo = "bar";
  $this->collection[] = $std1;
  $std2 = new \stdClass();
  $std2->foo = "baz";
  $this->collection[] = $std2;
}