original_string: protected function makeModelDisplayValueFromModelClass($modelClass)
      {
          $stripPrefix = config('cms-models.collector.models-namespace');
  
          if ($stripPrefix && starts_with($modelClass, $stripPrefix)) {
              $modelClass = trim(substr($modelClass, 0, strlen($stripPrefix)), '\\');
          }
  
          return ucfirst(str_replace('\\', ' ', $modelClass));
      }
code: protected function makeModelDisplayValueFromModelClass($modelClass)
      {
          $stripPrefix = config('cms-models.collector.models-namespace');
  
          if ($stripPrefix && starts_with($modelClass, $stripPrefix)) {
              $modelClass = trim(substr($modelClass, 0, strlen($stripPrefix)), '\\');
          }
  
          return ucfirst(str_replace('\\', ' ', $modelClass));
      }
code_tokens: protected function makeModelDisplayValueFromModelClass ( $ modelClass ) { $ stripPrefix = config ( 'cms-models.collector.models-namespace' ) ; if ( $ stripPrefix && starts_with ( $ modelClass , $ stripPrefix ) ) { $ modelClass = trim ( substr ( $ modelClass , 0 , strlen ( $ stripPrefix ) ) , '\\' ) ; } return ucfirst ( str_replace ( '\\' , ' ' , $ modelClass ) ) ; }
docstring: Returns displayable text for a given model class, based only on the class name.
  
  @param string $modelClass
  @return string
docstring_tokens: Returns displayable text for a given model class based only on the class name .