class TestLoader in Plug 7
Hierarchy
- class \Symfony\Component\Validator\Tests\Mapping\Factory\TestLoader implements LoaderInterface
Expanded class hierarchy of TestLoader
File
- lib/
Symfony/ validator/ Symfony/ Component/ 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:: |