original_string: public function getName()
      {
          if (null === $this->name) {
              $this->name = preg_replace('/[^a-zA-Z0-9_]+/', '', basename($this->rootDir));
          }
  
          return $this->name;
      }
code: public function getName()
      {
          if (null === $this->name) {
              $this->name = preg_replace('/[^a-zA-Z0-9_]+/', '', basename($this->rootDir));
          }
  
          return $this->name;
      }
code_tokens: public function getName ( ) { if ( null === $ this -> name ) { $ this -> name = preg_replace ( '/[^a-zA-Z0-9_]+/' , '' , basename ( $ this -> rootDir ) ) ; } return $ this -> name ; }
docstring: Gets the name of the application.
  
  @return string The application name
  
  @api
docstring_tokens: Gets the name of the application .