You are here

public function FakeMetadataFactory::addMetadata in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/FakeMetadataFactory.php, line 62

Class

FakeMetadataFactory

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

public function addMetadata($metadata) {
  $this->metadatas[$metadata
    ->getClassName()] = $metadata;
}