Neos\Flow\Composer\InstallerScripts::copyDistributionFiles PHP Метод

copyDistributionFiles() защищенный статический Метод

Copies any distribution files to their place if needed.
protected static copyDistributionFiles ( string $installerResourcesDirectory ) : void
$installerResourcesDirectory string Path to the installer directory that contains the Distribution/Essentials and/or Distribution/Defaults directories.
Результат void
    protected static function copyDistributionFiles($installerResourcesDirectory)
    {
        $essentialsPath = $installerResourcesDirectory . 'Distribution/Essentials';
        if (is_dir($essentialsPath)) {
            Files::copyDirectoryRecursively($essentialsPath, Files::getUnixStylePath(getcwd()) . '/', false, true);
        }
        $defaultsPath = $installerResourcesDirectory . 'Distribution/Defaults';
        if (is_dir($defaultsPath)) {
            Files::copyDirectoryRecursively($defaultsPath, Files::getUnixStylePath(getcwd()) . '/', true, true);
        }
    }