original_string: protected function makeModelFqnFromCmsModelPath($path)
      {
          $extension = pathinfo($path, PATHINFO_EXTENSION);
  
          if ($extension) {
              $path = substr($path, 0, -1 * strlen($extension) - 1);
          }
  
          return rtrim(config('cms-models.collector.source.models-namespace'), '\\')
               . '\\' . str_replace('/', '\\', $path);
      }
code: protected function makeModelFqnFromCmsModelPath($path)
      {
          $extension = pathinfo($path, PATHINFO_EXTENSION);
  
          if ($extension) {
              $path = substr($path, 0, -1 * strlen($extension) - 1);
          }
  
          return rtrim(config('cms-models.collector.source.models-namespace'), '\\')
               . '\\' . str_replace('/', '\\', $path);
      }
code_tokens: protected function makeModelFqnFromCmsModelPath ( $ path ) { $ extension = pathinfo ( $ path , PATHINFO_EXTENSION ) ; if ( $ extension ) { $ path = substr ( $ path , 0 , - 1 * strlen ( $ extension ) - 1 ) ; } return rtrim ( config ( 'cms-models.collector.source.models-namespace' ) , '\\' ) . '\\' . str_replace ( '/' , '\\' , $ path ) ; }
docstring: Returns the FQN for the model that is related to a given cms model
  information file path.
  
  @param string $path  relative path
  @return string
docstring_tokens: Returns the FQN for the model that is related to a given cms model information file path .