You are here

public function ArrayCollectionTest::provideDifferentElements in Plug 7

Return value

array

File

lib/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ArrayCollectionTest.php, line 160

Class

ArrayCollectionTest
Tests for { @covers \Doctrine\Common\Collections\ArrayCollection

Namespace

Doctrine\Tests\Common\Collections

Code

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