src/Handler.php
protected function getHandler()
    {
        if ($this->builder) {
            return $this->builder;
        }

        if ($this->query) {
            return $this->query;
        }

        throw new InvalidArgumentException('Missing query builder');
    }
protected function getHandler()
    {
        if ($this->builder) {
            return $this->builder;
        }

        if ($this->query) {
            return $this->query;
        }

        throw new InvalidArgumentException('Missing query builder');
    }
protected function getHandler ( ) { if ( $ this -> builder ) { return $ this -> builder ; } if ( $ this -> query ) { return $ this -> query ; } throw new InvalidArgumentException ( 'Missing query builder' ) ; }
Get the handler.

@throws \InvalidArgumentException
@return \Illuminate\Database\Query\Builder | \Illuminate\Database\Eloquent\Builder
Get the handler .