You are here

public static function BaseStaticLoaderDocument::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\BaseStaticLoaderDocument::loadMetadata()

File

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