public function read(Adapter $request) { $sql = $request->getDataSourceAdapter(); $select = $request->getSelect(); return $sql->prepareStatementForSqlObject($select)->execute(); }
/** * @param Adapter $request * @return mixed */ public function read(Adapter $request) { $this->params['requete'] = $request->getRequest(); return $this->getSoapClient()->Requeteur($this->getParams()); }