public function getPropertyMetadata($propertyName)
    {
        if (!isset($this->propertyMetadata[$propertyName])) {
            throw MappingException::mappingNotFound($this->name, $propertyName);
        }

        return $this->propertyMetadata[$propertyName];
    }
public function getPropertyMetadata($propertyName)
    {
        if (!isset($this->propertyMetadata[$propertyName])) {
            throw MappingException::mappingNotFound($this->name, $propertyName);
        }

        return $this->propertyMetadata[$propertyName];
    }
public function getPropertyMetadata ( $ propertyName ) { if ( ! isset ( $ this -> propertyMetadata [ $ propertyName ] ) ) { throw MappingException :: mappingNotFound ( $ this -> name , $ propertyName ) ; } return $ this -> propertyMetadata [ $ propertyName ] ; }
Gets the mapping metadata of a property.

@param string $propertyName The property name.

@return PropertyMetadata The property mapping.

@throws MappingException
Gets the mapping metadata of a property .