private function setQueryOffset()
    {
        if ($this->perPage == 'all') return;

        $this->query->skip($this->offset)->take($this->perPage);
    }
private function setQueryOffset()
    {
        if ($this->perPage == 'all') return;

        $this->query->skip($this->offset)->take($this->perPage);
    }
private function setQueryOffset ( ) { if ( $ this -> perPage == 'all' ) return ; $ this -> query -> skip ( $ this -> offset ) -> take ( $ this -> perPage ) ; }
This will just set the offset and limit of the query

@return void
This will just set the offset and limit of the query