You are here

public static function BaseStaticLoaderDocument::loadMetadata in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/Loader/StaticMethodLoaderTest.php, line 139

Class

BaseStaticLoaderDocument

Namespace

Symfony\Component\Validator\Tests\Mapping\Loader

Code

public static function loadMetadata(ClassMetadata $metadata) {
  $metadata
    ->addConstraint(new ConstraintA());
}