Prose\FromPDOStatement::fetchObj PHP Метод

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

public fetchObj ( )
    public function fetchObj()
    {
        // what are we doing?
        $log = usingLog()->startAction("fetch 1 row from the PDO query result");
        try {
            $row = $this->args[0]->fetch(PDO::FETCH_OBJ);
            // all done
            $log->endAction($row);
            return $row;
        } catch (Exception $e) {
            throw new E5xx_ActionFailed(__METHOD__, $e->getMessage());
        }
    }