original_string: public function evaluate()
      {
  
          $httpRequest = Request::createFromEnvironment();
  
          /** @var UserInterfaceMode $mode */
          $mode = $this->interfaceRenderModeService->findModeByCurrentUser();
  
          /** @var integer $renderMode */
          $renderMode = 0;
  
          switch (true) {
              case $mode->getName() === 'wireframe' || $httpRequest->getArgument('wireframeMode') == '1' :
                  $renderMode = 1;
                  break;
              case $httpRequest->getArgument('wireframeMode') == '2' :
                  $renderMode = 2;
                  break;
          }
  
          return $renderMode;
      }
code: public function evaluate()
      {
  
          $httpRequest = Request::createFromEnvironment();
  
          /** @var UserInterfaceMode $mode */
          $mode = $this->interfaceRenderModeService->findModeByCurrentUser();
  
          /** @var integer $renderMode */
          $renderMode = 0;
  
          switch (true) {
              case $mode->getName() === 'wireframe' || $httpRequest->getArgument('wireframeMode') == '1' :
                  $renderMode = 1;
                  break;
              case $httpRequest->getArgument('wireframeMode') == '2' :
                  $renderMode = 2;
                  break;
          }
  
          return $renderMode;
      }
code_tokens: public function evaluate ( ) { $ httpRequest = Request :: createFromEnvironment ( ) ; /** @var UserInterfaceMode $mode */ $ mode = $ this -> interfaceRenderModeService -> findModeByCurrentUser ( ) ; /** @var integer $renderMode */ $ renderMode = 0 ; switch ( true ) { case $ mode -> getName ( ) === 'wireframe' || $ httpRequest -> getArgument ( 'wireframeMode' ) == '1' : $ renderMode = 1 ; break ; case $ httpRequest -> getArgument ( 'wireframeMode' ) == '2' : $ renderMode = 2 ; break ; } return $ renderMode ; }
docstring: Evaluate wireframe rendering mode
  
  @return integer
docstring_tokens: Evaluate wireframe rendering mode