protected function getTargetPath($pathname)
    {
        $filesystem      = new Filesystem();
        $templatesFolder = $this->getConfigKey('Folders', 'templates');
        $folderDiff      = '/' . $filesystem->findShortestPath(
                SetupHelper::getRootFolder(),
                $templatesFolder
            );

        return (string)$this->removeTemplateExtension(str_replace($folderDiff, '', $pathname));
    }
protected function getTargetPath($pathname)
    {
        $filesystem      = new Filesystem();
        $templatesFolder = $this->getConfigKey('Folders', 'templates');
        $folderDiff      = '/' . $filesystem->findShortestPath(
                SetupHelper::getRootFolder(),
                $templatesFolder
            );

        return (string)$this->removeTemplateExtension(str_replace($folderDiff, '', $pathname));
    }
protected function getTargetPath ( $ pathname ) { $ filesystem = new Filesystem ( ) ; $ templatesFolder = $ this -> getConfigKey ( 'Folders' , 'templates' ) ; $ folderDiff = '/' . $ filesystem -> findShortestPath ( SetupHelper :: getRootFolder ( ) , $ templatesFolder ) ; return ( string ) $ this -> removeTemplateExtension ( str_replace ( $ folderDiff , '' , $ pathname ) ) ; }
Get the target path for a rendered file from a template file.

@since 0.1.0

@param string $pathname The path and file name to the template file.

@return string The target path and file name to use for the rendered file.
Get the target path for a rendered file from a template file .