You are here

public function CollectionValidatorArrayObjectTest::prepareTestData in Zircon Profile 8

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

Overrides CollectionValidatorTest::prepareTestData

File

vendor/symfony/validator/Tests/Constraints/CollectionValidatorArrayObjectTest.php, line 16

Class

CollectionValidatorArrayObjectTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function prepareTestData(array $contents) {
  return new \ArrayObject($contents);
}