src/RouteSupport.php
/**
     * Checks whether all of $filters are currently present in query string.
     *
     * @param $filters
     *
     * @return bool
     */
Checks whether all of $filters are currently present in query string.
@param $filters

@return bool
Checks whether all of $filters are currently present in query string . @param $filters @return bool
public function hasAll($filters): bool
    {
        $filters = $this->applicableFilters($filters);
        if (empty($filters)) {
            return false;
        }
        $queryBag = $this->request->query;
        foreach (array_keys($filters) as $filter) {
            if ( ! $queryBag->has($filter)) {
                return false;
            }
        }
        return true;
    }
public function hasAll ( $ filters ) : bool { $ filters = $ this -> applicableFilters ( $ filters ) ; if ( empty ( $ filters ) ) { return false ; } $ queryBag = $ this -> request -> query ; foreach ( array_keys ( $ filters ) as $ filter ) { if ( ! $ queryBag -> has ( $ filter ) ) { return false ; } } return true ; }
Checks whether all of $filters are currently present in query string.
Checks whether all of $filters are currently present in query string .