You are here

public function CountValidatorTest::getFiveOrMoreElements in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/CountValidatorTest.php, line 68

Class

CountValidatorTest
@author Bernhard Schussek <bschussek@gmail.com>

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function getFiveOrMoreElements() {
  return array(
    array(
      $this
        ->createCollection(array(
        1,
        2,
        3,
        4,
        5,
      )),
    ),
    array(
      $this
        ->createCollection(array(
        1,
        2,
        3,
        4,
        5,
        6,
      )),
    ),
    array(
      $this
        ->createCollection(array(
        'a' => 1,
        'b' => 2,
        'c' => 3,
        'd' => 4,
        'e' => 5,
      )),
    ),
  );
}