You are here

public function CountValidatorTest::getFiveOrMoreElements in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/CountValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\CountValidatorTest::getFiveOrMoreElements()

File

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