You are here

class TestLoader in Plug 7

Hierarchy

Expanded class hierarchy of TestLoader

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/Factory/LazyLoadingMetadataFactoryTest.php, line 112

Namespace

Symfony\Component\Validator\Tests\Mapping\Factory
View source
class TestLoader implements LoaderInterface {
  public function loadClassMetadata(ClassMetadata $metadata) {
    $metadata
      ->addConstraint(new ConstraintA());
  }

}

Members

Namesort descending Modifiers Type Description Overrides
TestLoader::loadClassMetadata public function Loads validation metadata into a {@link ClassMetadata} instance. Overrides LoaderInterface::loadClassMetadata