src/orm/classes/Field/Entity.php
public function pdo2orm($pdoValue)
    {
        $table = $this->table->getDriver()->getManager()
            ->getTableByEntityClass($this->getParam('class'));
        if (is_null($table))
        {
            return null;
        }
        return $table->find($pdoValue);
    }
public function pdo2orm($pdoValue)
    {
        $table = $this->table->getDriver()->getManager()
            ->getTableByEntityClass($this->getParam('class'));
        if (is_null($table))
        {
            return null;
        }
        return $table->find($pdoValue);
    }
Преобразует значение PDO в значение ORM

@param mixed $pdoValue

@return mixed

@since 3.00