original_string: protected function getModelName($name = null)
      {
          $name = isset($name) ? $name : $this->resource;
  
          //return ucwords(camel_case($this->getResourceName($name)));
  
          return str_singular(ucwords(camel_case(class_basename($name))));
      }
code: protected function getModelName($name = null)
      {
          $name = isset($name) ? $name : $this->resource;
  
          //return ucwords(camel_case($this->getResourceName($name)));
  
          return str_singular(ucwords(camel_case(class_basename($name))));
      }
code_tokens: protected function getModelName ( $ name = null ) { $ name = isset ( $ name ) ? $ name : $ this -> resource ; //return ucwords(camel_case($this->getResourceName($name))); return str_singular ( ucwords ( camel_case ( class_basename ( $ name ) ) ) ) ; }
docstring: Get the name for the model
  
  @param null $name
  @return string
docstring_tokens: Get the name for the model