original_string: public function humanClassName($class)
      {
          // get the class name if an object is given
          if (is_object($class)) {
              $class = get_class($class);
          }
  
          // split the class name up by namespaces
          $namespace = explode('\\', $class);
          $className = end($namespace);
  
          // convert the class name into the humanized version
          $inflector = Inflector::get();
  
          return $inflector->titleize($inflector->underscore($className));
      }
code: public function humanClassName($class)
      {
          // get the class name if an object is given
          if (is_object($class)) {
              $class = get_class($class);
          }
  
          // split the class name up by namespaces
          $namespace = explode('\\', $class);
          $className = end($namespace);
  
          // convert the class name into the humanized version
          $inflector = Inflector::get();
  
          return $inflector->titleize($inflector->underscore($className));
      }
code_tokens: public function humanClassName ( $ class ) { // get the class name if an object is given if ( is_object ( $ class ) ) { $ class = get_class ( $ class ) ; } // split the class name up by namespaces $ namespace = explode ( '\\' , $ class ) ; $ className = end ( $ namespace ) ; // convert the class name into the humanized version $ inflector = Inflector :: get ( ) ; return $ inflector -> titleize ( $ inflector -> underscore ( $ className ) ) ; }
docstring: Generates the human name for a class
  i.e. LineItem -> Line Item.
  
  @param string|object $class
  
  @return string
docstring_tokens: Generates the human name for a class i . e . LineItem - > Line Item .