You are here

public static function AbstractStaticLoader::loadMetadata in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Mapping/Loader/StaticMethodLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\AbstractStaticLoader::loadMetadata()

File

vendor/symfony/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());
}