isCli() || !$request->isMethodCacheable()) { return static::DENY; } } /** * Indicates whether this is a CLI request. */ protected function isCli() { return PHP_SAPI === 'cli'; } }