original_string: public function modelSlug($model)
      {
          if (is_object($model)) {
              $model = get_class($model);
          }
  
          return str_replace('\\', '-', strtolower($model));
      }
code: public function modelSlug($model)
      {
          if (is_object($model)) {
              $model = get_class($model);
          }
  
          return str_replace('\\', '-', strtolower($model));
      }
code_tokens: public function modelSlug ( $ model ) { if ( is_object ( $ model ) ) { $ model = get_class ( $ model ) ; } return str_replace ( '\\' , '-' , strtolower ( $ model ) ) ; }
docstring: Returns the model slug for a model or model FQN.
  
  @param string|Model $model
  @return string
docstring_tokens: Returns the model slug for a model or model FQN .