src/Eloquent/Repository.php
public function get($columns = ['*'])
    {
        $result = $this->getBuilder()->get($columns);

        // Reset query builder
        $this->resetBuilder();

        return $result;
    }
public function get($columns = ['*'])
    {
        $result = $this->getBuilder()->get($columns);

        // Reset query builder
        $this->resetBuilder();

        return $result;
    }
public function get ( $ columns = [ '*' ] ) { $ result = $ this -> getBuilder ( ) -> get ( $ columns ) ; // Reset query builder $ this -> resetBuilder ( ) ; return $ result ; }
Execute the query and retrieve result.

@author Morten Rugaard <moru@nodes.dk>

@param  array $columns
@return \Illuminate\Database\Eloquent\Collection
Execute the query and retrieve result .