src/Installer/Package/ShopPackageInstaller.php
private function getFilteredFiles($directory, $filter)
    {
        $glob = Path::join($directory, $filter);

        return new GlobIterator($glob);
    }
private function getFilteredFiles($directory, $filter)
    {
        $glob = Path::join($directory, $filter);

        return new GlobIterator($glob);
    }
Return filtered files.

@param   string $directory
@param   string $filter

@return  GlobIterator