src/Synapse/Mapper/AbstractMapper.php
protected function execute(PreparableSqlInterface $query)
    {
        $statement = $this->getSqlObject()->prepareStatementForSqlObject($query);

        $resultSet = new HydratingResultSet($this->hydrator, $this->prototype);
        return $resultSet->initialize($statement->execute());
    }
protected function execute(PreparableSqlInterface $query)
    {
        $statement = $this->getSqlObject()->prepareStatementForSqlObject($query);

        $resultSet = new HydratingResultSet($this->hydrator, $this->prototype);
        return $resultSet->initialize($statement->execute());
    }
protected function execute ( PreparableSqlInterface $ query ) { $ statement = $ this -> getSqlObject ( ) -> prepareStatementForSqlObject ( $ query ) ; $ resultSet = new HydratingResultSet ( $ this -> hydrator , $ this -> prototype ) ; return $ resultSet -> initialize ( $ statement -> execute ( ) ) ; }
Execute a given query

@param  PreparableSqlInterface $query Query to be executed
@return HydratingResultSet
Execute a given query