MyBuilder\Conductor\Conductor::symlinkPackageToVendor PHP Метод

symlinkPackageToVendor() приватный Метод

private symlinkPackageToVendor ( $packagePath, $vendorPath )
    private function symlinkPackageToVendor($packagePath, $vendorPath)
    {
        $relative = $this->fileSystem->makePathRelative(realpath($packagePath), realpath($vendorPath . '/../'));
        $this->fileSystem->rename($vendorPath, $vendorPath . '_linked', true);
        $this->fileSystem->symlink($relative, $vendorPath);
        $this->fileSystem->remove($vendorPath . '_linked');
    }