You are here

public function CollectionValidatorCustomArrayObjectTest::prepareTestData in Zircon Profile 8

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

Overrides CollectionValidatorTest::prepareTestData

File

vendor/symfony/validator/Tests/Constraints/CollectionValidatorCustomArrayObjectTest.php, line 18

Class

CollectionValidatorCustomArrayObjectTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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