public function ArrayCollectionTest::provideDifferentElements in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ArrayCollectionTest.php \Doctrine\Tests\Common\Collections\ArrayCollectionTest::provideDifferentElements()
Return value
array
File
- vendor/doctrine/ collections/ tests/ Doctrine/ Tests/ Common/ Collections/ ArrayCollectionTest.php, line 160 
Class
- ArrayCollectionTest
- Tests for { @covers \Doctrine\Common\Collections\ArrayCollection
Namespace
Doctrine\Tests\Common\CollectionsCode
public function provideDifferentElements() {
  return array(
    'indexed' => array(
      array(
        1,
        2,
        3,
        4,
        5,
      ),
    ),
    'associative' => array(
      array(
        'A' => 'a',
        'B' => 'b',
        'C' => 'c',
      ),
    ),
    'mixed' => array(
      array(
        'A' => 'a',
        1,
        'B' => 'b',
        2,
        3,
      ),
    ),
  );
}