class BaseStaticLoaderDocument in Plug 7
Hierarchy
- class \Symfony\Component\Validator\Tests\Mapping\Loader\BaseStaticLoaderDocument
Expanded class hierarchy of BaseStaticLoaderDocument
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Mapping/ Loader/ StaticMethodLoaderTest.php, line 137
Namespace
Symfony\Component\Validator\Tests\Mapping\LoaderView source
class BaseStaticLoaderDocument {
public static function loadMetadata(ClassMetadata $metadata) {
$metadata
->addConstraint(new ConstraintA());
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseStaticLoaderDocument:: |
public static | function |