src/Handler.php
protected function parseFilter()
    {
        if (! $params = $this->getParams()) {
            return;
        }

        foreach ($params as $key => $value) {
            if ($this->isEloquentBuilder() && Str::contains($key, '~')) {
                $this->filterRelation($key, $value);
            } else {
                $this->filter($key, $value);
            }
        }
    }
protected function parseFilter()
    {
        if (! $params = $this->getParams()) {
            return;
        }

        foreach ($params as $key => $value) {
            if ($this->isEloquentBuilder() && Str::contains($key, '~')) {
                $this->filterRelation($key, $value);
            } else {
                $this->filter($key, $value);
            }
        }
    }
protected function parseFilter ( ) { if ( ! $ params = $ this -> getParams ( ) ) { return ; } foreach ( $ params as $ key => $ value ) { if ( $ this -> isEloquentBuilder ( ) && Str :: contains ( $ key , '~' ) ) { $ this -> filterRelation ( $ key , $ value ) ; } else { $ this -> filter ( $ key , $ value ) ; } } }
Parse all the paramenters for query builder.

@return void
Parse all the paramenters for query builder .