src/Charcoal/Cache/Middleware/CacheMiddleware.php
private function isSkipCache(RequestInterface $request)
    {
        if (isset($this->skipCache['session_vars'])) {
            $skip = $this->skipCache['session_vars'];

            if (!empty($skip)) {
                if (!session_id()) {
                    session_cache_limiter(false);
                    session_start();
                }

                if (array_intersect_key($_SESSION, array_flip($skip))) {
                    return true;
                }
            }
        }

        return false;
    }
private function isSkipCache(RequestInterface $request)
    {
        if (isset($this->skipCache['session_vars'])) {
            $skip = $this->skipCache['session_vars'];

            if (!empty($skip)) {
                if (!session_id()) {
                    session_cache_limiter(false);
                    session_start();
                }

                if (array_intersect_key($_SESSION, array_flip($skip))) {
                    return true;
                }
            }
        }

        return false;
    }
private function isSkipCache ( RequestInterface $ request ) { if ( isset ( $ this -> skipCache [ 'session_vars' ] ) ) { $ skip = $ this -> skipCache [ 'session_vars' ] ; if ( ! empty ( $ skip ) ) { if ( ! session_id ( ) ) { session_cache_limiter ( false ) ; session_start ( ) ; } if ( array_intersect_key ( $ _SESSION , array_flip ( $ skip ) ) ) { return true ; } } } return false ; }
Determine if the HTTP request method matches the accepted choices.

@param  RequestInterface $request The PSR-7 HTTP request.
@return boolean
Determine if the HTTP request method matches the accepted choices .