original_string: protected function getTokenFromRequest($request)
      {
          $token = $request->input('_token') ?: $request->header('X-CSRF-TOKEN');
  
          if (! $token && $header = $request->header('X-XSRF-TOKEN')) {
              $token = $this->encrypter->decrypt($header, static::serialized());
          }
  
          return $token;
      }
code: protected function getTokenFromRequest($request)
      {
          $token = $request->input('_token') ?: $request->header('X-CSRF-TOKEN');
  
          if (! $token && $header = $request->header('X-XSRF-TOKEN')) {
              $token = $this->encrypter->decrypt($header, static::serialized());
          }
  
          return $token;
      }
code_tokens: protected function getTokenFromRequest ( $ request ) { $ token = $ request -> input ( '_token' ) ? : $ request -> header ( 'X-CSRF-TOKEN' ) ; if ( ! $ token && $ header = $ request -> header ( 'X-XSRF-TOKEN' ) ) { $ token = $ this -> encrypter -> decrypt ( $ header , static :: serialized ( ) ) ; } return $ token ; }
docstring: Get the CSRF token from the request.
  
  @param  \Illuminate\Http\Request  $request
  @return string
docstring_tokens: Get the CSRF token from the request .