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);
    }
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);
    }
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 ) ; }
Returns the FQN for the model that is related to a given cms model
information file path.

@param string $path  relative path
@return string
Returns the FQN for the model that is related to a given cms model information file path .