public function ClassMetadata::hasPropertyMetadata in Plug 7
Check if there's any metadata attached to the given named property.
Parameters
string $property The property name.:
Return value
bool
Overrides PropertyMetadataContainerInterface::hasPropertyMetadata
1 call to ClassMetadata::hasPropertyMetadata()
- ClassMetadata::hasMemberMetadatas in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ ClassMetadata.php - Returns true if metadatas of members is present for the given property.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ ClassMetadata.php, line 412
Class
- ClassMetadata
- Default implementation of {@link ClassMetadataInterface}.
Namespace
Symfony\Component\Validator\MappingCode
public function hasPropertyMetadata($property) {
return array_key_exists($property, $this->members);
}