You are here

public function FakeMetadataFactory::addMetadata in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Fixtures/FakeMetadataFactory.php \Symfony\Component\Validator\Tests\Fixtures\FakeMetadataFactory::addMetadata()

File

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