private function tokenShouldNotBeChecked(Request $request) : bool
    {
        return in_array($request->getMethod(), [RequestMethods::GET, RequestMethods::HEAD, RequestMethods::OPTIONS]);
    }
private function tokenShouldNotBeChecked(Request $request) : bool
    {
        return in_array($request->getMethod(), [RequestMethods::GET, RequestMethods::HEAD, RequestMethods::OPTIONS]);
    }
private function tokenShouldNotBeChecked ( Request $ request ) : bool { return in_array ( $ request -> getMethod ( ) , [ RequestMethods :: GET , RequestMethods :: HEAD , RequestMethods :: OPTIONS ] ) ; }
Gets whether or not the token should even be checked

@param Request $request The current request
@return bool True if the token should be checked, otherwise false
Gets whether or not the token should even be checked