You are here

public function CountValidatorTest::getFourElements 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::getFourElements()

File

vendor/symfony/validator/Tests/Constraints/CountValidatorTest.php, line 60

Class

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

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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