original_string: public function cssAction($token)
      {
          if (null === $this->profiler) {
              throw new NotFoundHttpException('The profiler must be enabled.');
          }
  
          $this->profiler->disable();
  
          $exception = $this->profiler->loadProfile($token)->getCollector('exception')->getException();
          $template = $this->getTemplate();
  
          if (!$this->templateExists($template)) {
              $handler = new ExceptionHandler($this->debug, $this->twig->getCharset(), $this->fileLinkFormat);
  
              return new Response($handler->getStylesheet($exception), 200, ['Content-Type' => 'text/css']);
          }
  
          return new Response($this->twig->render('@WebProfiler/Collector/exception.css.twig'), 200, ['Content-Type' => 'text/css']);
      }
code: public function cssAction($token)
      {
          if (null === $this->profiler) {
              throw new NotFoundHttpException('The profiler must be enabled.');
          }
  
          $this->profiler->disable();
  
          $exception = $this->profiler->loadProfile($token)->getCollector('exception')->getException();
          $template = $this->getTemplate();
  
          if (!$this->templateExists($template)) {
              $handler = new ExceptionHandler($this->debug, $this->twig->getCharset(), $this->fileLinkFormat);
  
              return new Response($handler->getStylesheet($exception), 200, ['Content-Type' => 'text/css']);
          }
  
          return new Response($this->twig->render('@WebProfiler/Collector/exception.css.twig'), 200, ['Content-Type' => 'text/css']);
      }
code_tokens: public function cssAction ( $ token ) { if ( null === $ this -> profiler ) { throw new NotFoundHttpException ( 'The profiler must be enabled.' ) ; } $ this -> profiler -> disable ( ) ; $ exception = $ this -> profiler -> loadProfile ( $ token ) -> getCollector ( 'exception' ) -> getException ( ) ; $ template = $ this -> getTemplate ( ) ; if ( ! $ this -> templateExists ( $ template ) ) { $ handler = new ExceptionHandler ( $ this -> debug , $ this -> twig -> getCharset ( ) , $ this -> fileLinkFormat ) ; return new Response ( $ handler -> getStylesheet ( $ exception ) , 200 , [ 'Content-Type' => 'text/css' ] ) ; } return new Response ( $ this -> twig -> render ( '@WebProfiler/Collector/exception.css.twig' ) , 200 , [ 'Content-Type' => 'text/css' ] ) ; }
docstring: Renders the exception panel stylesheet for the given token.
  
  @param string $token The profiler token
  
  @return Response A Response instance
  
  @throws NotFoundHttpException
docstring_tokens: Renders the exception panel stylesheet for the given token .