public function CountValidatorTest::getThreeOrLessElements in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ CountValidatorTest.php, line 50
Class
- CountValidatorTest
- @author Bernhard Schussek <bschussek@gmail.com>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function getThreeOrLessElements() {
return array(
array(
$this
->createCollection(array(
1,
)),
),
array(
$this
->createCollection(array(
1,
2,
)),
),
array(
$this
->createCollection(array(
1,
2,
3,
)),
),
array(
$this
->createCollection(array(
'a' => 1,
'b' => 2,
'c' => 3,
)),
),
);
}