Neos\Flow\Package\PackageManager::movePackage PHP Method

movePackage() protected method

Moves a package from one path to another.
protected movePackage ( string $fromAbsolutePath, string $toAbsolutePath ) : void
$fromAbsolutePath string
$toAbsolutePath string
return void
    protected function movePackage($fromAbsolutePath, $toAbsolutePath)
    {
        Files::createDirectoryRecursively($toAbsolutePath);
        Files::copyDirectoryRecursively($fromAbsolutePath, $toAbsolutePath, false, true);
        Files::removeDirectoryRecursively($fromAbsolutePath);
    }