public function __construct(DoctrineStatement $statement, $strQuery) { $this->resResult = $statement; $this->strQuery = $strQuery; $this->resultSet = $statement->fetchAll(\PDO::FETCH_ASSOC); }