Storm\Core\Mapping\EntityRelationalMap::VerifyDataPropertyColumnMapping PHP Метод

VerifyDataPropertyColumnMapping() приватный Метод

Verifies that the data property column mapping exists for the supplied property.
private VerifyDataPropertyColumnMapping ( $Method, Storm\Core\Object\IProperty $Property ) : Storm\Core\Mapping\IDataPropertyColumnMapping
$Property Storm\Core\Object\IProperty The mapped property
Результат Storm\Core\Mapping\IDataPropertyColumnMapping The property mapping
    private function VerifyDataPropertyColumnMapping($Method, IProperty $Property)
    {
        $PropertyIdentifier = $Property->GetIdentifier();
        if (isset($this->DataPropertyColumnMappings[$PropertyIdentifier])) {
            return $this->DataPropertyColumnMappings[$PropertyIdentifier];
        } else {
            throw new UnmappedPropertyException('The supplied property to %s has not been mapped', $Method);
        }
    }