public function FakeClassMetadata::addCustomPropertyMetadata in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Fixtures/FakeClassMetadata.php \Symfony\Component\Validator\Tests\Fixtures\FakeClassMetadata::addCustomPropertyMetadata()
File
- vendor/
symfony/ validator/ Tests/ Fixtures/ FakeClassMetadata.php, line 18
Class
Namespace
Symfony\Component\Validator\Tests\FixturesCode
public function addCustomPropertyMetadata($propertyName, $metadata) {
if (!isset($this->members[$propertyName])) {
$this->members[$propertyName] = array();
}
$this->members[$propertyName][] = $metadata;
}