You are here

public static function AbstractStaticLoader::loadMetadata in Plug 7

File

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

Class

AbstractStaticLoader

Namespace

Symfony\Component\Validator\Tests\Mapping\Loader

Code

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