original_string: public function getControllerName()
      {
          if (empty($this->controller_name)) {
              $controller_class = get_class($this);
  
              if (($pos = strrpos($controller_class, '\\')) !== false) {
                  $this->controller_name = substr($controller_class, $pos + 1);
              } else {
                  $this->controller_name = $controller_class;
              }
          }
  
          return $this->controller_name;
      }
code: public function getControllerName()
      {
          if (empty($this->controller_name)) {
              $controller_class = get_class($this);
  
              if (($pos = strrpos($controller_class, '\\')) !== false) {
                  $this->controller_name = substr($controller_class, $pos + 1);
              } else {
                  $this->controller_name = $controller_class;
              }
          }
  
          return $this->controller_name;
      }
code_tokens: public function getControllerName ( ) { if ( empty ( $ this -> controller_name ) ) { $ controller_class = get_class ( $ this ) ; if ( ( $ pos = strrpos ( $ controller_class , '\\' ) ) !== false ) { $ this -> controller_name = substr ( $ controller_class , $ pos + 1 ) ; } else { $ this -> controller_name = $ controller_class ; } } return $ this -> controller_name ; }
docstring: Return controller name, without namespace.
  
  @return string
docstring_tokens: Return controller name without namespace .