public function selectWith(\Zend\Db\Sql\Select $select)
    {
        if ($this->usePaginator === true) {
            return $this->initPaginator($select);
        }

        $this->result = $this->tableGateway->selectWith($select);

        return $this->result;
    }
public function selectWith(\Zend\Db\Sql\Select $select)
    {
        if ($this->usePaginator === true) {
            return $this->initPaginator($select);
        }

        $this->result = $this->tableGateway->selectWith($select);

        return $this->result;
    }
public function selectWith ( \ Zend \ Db \ Sql \ Select $ select ) { if ( $ this -> usePaginator === true ) { return $ this -> initPaginator ( $ select ) ; } $ this -> result = $ this -> tableGateway -> selectWith ( $ select ) ; return $ this -> result ; }
Select request.

@param \Zend\Db\Sql\Select

@return \Zend\Db\ResultSet\ResultSet
Select request .