class TestLoader in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/validator/Tests/Mapping/Factory/LazyLoadingMetadataFactoryTest.php \Symfony\Component\Validator\Tests\Mapping\Factory\TestLoader
- 8 core/modules/system/tests/modules/twig_loader_test/src/Loader/TestLoader.php \Drupal\twig_loader_test\Loader\TestLoader
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Mapping/Factory/LazyLoadingMetadataFactoryTest.php \Symfony\Component\Validator\Tests\Mapping\Factory\TestLoader
Hierarchy
- class \Symfony\Component\Validator\Tests\Mapping\Factory\TestLoader implements LoaderInterface
Expanded class hierarchy of TestLoader
File
- vendor/
symfony/ validator/ Tests/ Mapping/ Factory/ LazyLoadingMetadataFactoryTest.php, line 112
Namespace
Symfony\Component\Validator\Tests\Mapping\FactoryView source
class TestLoader implements LoaderInterface {
public function loadClassMetadata(ClassMetadata $metadata) {
$metadata
->addConstraint(new ConstraintA());
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestLoader:: |
public | function |
Loads validation metadata into a {@link ClassMetadata} instance. Overrides LoaderInterface:: |