private function copyFilesFromSourceToInstallationByFilter($packagePath, $filter)
    {
        $sourceDirectory    = $this->getPackageDirectoryOfShopSource($packagePath);
        $filteredFiles      = $this->getFilteredFiles($sourceDirectory, $filter);

        foreach ($filteredFiles as $packageFilePath) {
            $installationFilePath = $this->getAbsoluteFilePathFromInstallation(
                $sourceDirectory,
                $packageFilePath
            );

            $this->copyFileIfIsMissing($packageFilePath, $installationFilePath);
        }
    }
private function copyFilesFromSourceToInstallationByFilter($packagePath, $filter)
    {
        $sourceDirectory    = $this->getPackageDirectoryOfShopSource($packagePath);
        $filteredFiles      = $this->getFilteredFiles($sourceDirectory, $filter);

        foreach ($filteredFiles as $packageFilePath) {
            $installationFilePath = $this->getAbsoluteFilePathFromInstallation(
                $sourceDirectory,
                $packageFilePath
            );

            $this->copyFileIfIsMissing($packageFilePath, $installationFilePath);
        }
    }
private function copyFilesFromSourceToInstallationByFilter ( $ packagePath , $ filter ) { $ sourceDirectory = $ this -> getPackageDirectoryOfShopSource ( $ packagePath ) ; $ filteredFiles = $ this -> getFilteredFiles ( $ sourceDirectory , $ filter ) ; foreach ( $ filteredFiles as $ packageFilePath ) { $ installationFilePath = $ this -> getAbsoluteFilePathFromInstallation ( $ sourceDirectory , $ packageFilePath ) ; $ this -> copyFileIfIsMissing ( $ packageFilePath , $ installationFilePath ) ; } }
Copy files from source to installation by filter.

@param string $packagePath
@param string $filter
Copy files from source to installation by filter .