Bravo3\Orm\Query\QueryInterface::getClassName PHP Метод

getClassName() публичный Метод

Get entity class name
public getClassName ( ) : string
Результат string
    public function getClassName();

Usage Example

Пример #1
0
 /**
  * Hydrate an entity
  *
  * @param string $id
  * @return $this
  */
 private function hydrateEntity($id)
 {
     try {
         $this->entities[$id] = $this->entity_manager->retrieve($this->query->getClassName(), $id, $this->use_cache);
     } catch (NotFoundException $e) {
         throw new CorruptedEntityException("Entity in sorted index not found: " . $e->getMessage(), 0, $e);
     }
     return $this;
 }