protected function shouldAutoPrepareForResponse(): bool
    {
        $request = request();

        return $request->isMethod('get') &&
            !in_array($request->path() ?? '', $this->autoPrepareResponseExcept);
    }
protected function shouldAutoPrepareForResponse(): bool
    {
        $request = request();

        return $request->isMethod('get') &&
            !in_array($request->path() ?? '', $this->autoPrepareResponseExcept);
    }
protected function shouldAutoPrepareForResponse ( ) : bool { $ request = request ( ) ; return $ request -> isMethod ( 'get' ) && ! in_array ( $ request -> path ( ) ?? '' , $ this -> autoPrepareResponseExcept ) ; }
Determine if we automatically prepare for a response from a request

@return bool
Determine if we automatically prepare for a response from a request