Storm\Core\Object\Domain::GetEntityMap PHP Метод

GetEntityMap() закрытый публичный Метод

final public GetEntityMap ( string $EntityType ) : Storm\Core\Object\IEntityMap | null
$EntityType string The type of entity that the entity map represents
Результат Storm\Core\Object\IEntityMap | null The entity map or null if it is not registered
    public final function GetEntityMap($EntityType)
    {
        return $this->HasEntityMap($EntityType) ? $this->EntityMaps[$EntityType] : null;
    }

Usage Example

Пример #1
0
 protected function EntityMap(Object\Domain $Domain)
 {
     return $Domain->GetEntityMap(Post::GetType());
 }