src/Charcoal/Cache/Middleware/CacheMiddleware.php
private function isQueryExcluded(array $queryParams)
    {
        if (empty($queryParams)) {
            return false;
        }

        if ($this->excludedQuery === '*') {
            return true;
        }

        if (empty($this->excludedQuery) && !is_numeric($this->excludedQuery)) {
            return false;
        }

        $excludedParams = array_intersect_key($queryParams, array_flip((array)$this->excludedQuery));
        return (count($excludedParams) > 0);
    }
private function isQueryExcluded(array $queryParams)
    {
        if (empty($queryParams)) {
            return false;
        }

        if ($this->excludedQuery === '*') {
            return true;
        }

        if (empty($this->excludedQuery) && !is_numeric($this->excludedQuery)) {
            return false;
        }

        $excludedParams = array_intersect_key($queryParams, array_flip((array)$this->excludedQuery));
        return (count($excludedParams) > 0);
    }
private function isQueryExcluded ( array $ queryParams ) { if ( empty ( $ queryParams ) ) { return false ; } if ( $ this -> excludedQuery === '*' ) { return true ; } if ( empty ( $ this -> excludedQuery ) && ! is_numeric ( $ this -> excludedQuery ) ) { return false ; } $ excludedParams = array_intersect_key ( $ queryParams , array_flip ( ( array ) $ this -> excludedQuery ) ) ; return ( count ( $ excludedParams ) > 0 ) ; }
Determine if the request should NOT be cached based on the URI query.

@param  array $queryParams The query parameters to verify.
@return boolean
Determine if the request should NOT be cached based on the URI query .