diff --git a/composer.json b/composer.json index d181336..8ec5508 100644 --- a/composer.json +++ b/composer.json @@ -10,11 +10,11 @@ }, "autoload": { "psr-4": { - "Eiswurm\\LimitedDownloadsBundle\\": "src/" + "Mummert\\LimitedDownloadsBundle\\": "src/" } }, "extra": { - "contao-manager-plugin": "Eiswurm\\LimitedDownloadsBundle\\Contao\\Manager\\Plugin" + "contao-manager-plugin": "Mummert\\LimitedDownloadsBundle\\Contao\\Manager\\Plugin" }, "prefer-stable": true, "config": { diff --git a/config/services.yaml b/config/services.yaml index 7df3f43..6368485 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -3,12 +3,12 @@ services: autowire: true autoconfigure: true - Eiswurm\LimitedDownloadsBundle\: + Mummert\LimitedDownloadsBundle\: resource: ../src/ exclude: - ../src/Contao/Manager/ - ../src/LimitedDownloadsBundle.php - Eiswurm\LimitedDownloadsBundle\Controller\DownloadController: + Mummert\LimitedDownloadsBundle\Controller\DownloadController: bind: string $projectDir: '%kernel.project_dir%' diff --git a/src/Contao/Manager/Plugin.php b/src/Contao/Manager/Plugin.php index 6b0996e..b6c7621 100644 --- a/src/Contao/Manager/Plugin.php +++ b/src/Contao/Manager/Plugin.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Eiswurm\LimitedDownloadsBundle\Contao\Manager; +namespace Mummert\LimitedDownloadsBundle\Contao\Manager; use Contao\CoreBundle\ContaoCoreBundle; use Contao\ManagerPlugin\Bundle\BundlePluginInterface; use Contao\ManagerPlugin\Bundle\Config\BundleConfig; use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; use Contao\ManagerPlugin\Routing\RoutingPluginInterface; -use Eiswurm\LimitedDownloadsBundle\LimitedDownloadsBundle; +use Mummert\LimitedDownloadsBundle\LimitedDownloadsBundle; use Symfony\Component\Config\Loader\LoaderResolverInterface; use Symfony\Component\HttpKernel\KernelInterface; use Symfony\Component\Routing\RouteCollection; diff --git a/src/Controller/DownloadController.php b/src/Controller/DownloadController.php index 7c108c1..188b358 100644 --- a/src/Controller/DownloadController.php +++ b/src/Controller/DownloadController.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Eiswurm\LimitedDownloadsBundle\Controller; +namespace Mummert\LimitedDownloadsBundle\Controller; -use Eiswurm\LimitedDownloadsBundle\Repository\TimedDownloadRepository; -use Eiswurm\LimitedDownloadsBundle\Service\ProtectedFileProvider; +use Mummert\LimitedDownloadsBundle\Repository\TimedDownloadRepository; +use Mummert\LimitedDownloadsBundle\Service\ProtectedFileProvider; use Symfony\Component\HttpFoundation\BinaryFileResponse; use Symfony\Component\HttpFoundation\ResponseHeaderBag; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; diff --git a/src/Controller/Frontend/TimedDownloadLinkModuleController.php b/src/Controller/Frontend/TimedDownloadLinkModuleController.php index e1db93f..83a69f7 100644 --- a/src/Controller/Frontend/TimedDownloadLinkModuleController.php +++ b/src/Controller/Frontend/TimedDownloadLinkModuleController.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Eiswurm\LimitedDownloadsBundle\Controller\Frontend; +namespace Mummert\LimitedDownloadsBundle\Controller\Frontend; use Contao\CoreBundle\Controller\FrontendModule\AbstractFrontendModuleController; use Contao\CoreBundle\DependencyInjection\Attribute\AsFrontendModule; use Contao\CoreBundle\Twig\FragmentTemplate; use Contao\ModuleModel; -use Eiswurm\LimitedDownloadsBundle\Repository\TimedDownloadRepository; -use Eiswurm\LimitedDownloadsBundle\TimedDownloadSession; +use Mummert\LimitedDownloadsBundle\Repository\TimedDownloadRepository; +use Mummert\LimitedDownloadsBundle\TimedDownloadSession; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpFoundation\Response; diff --git a/src/DependencyInjection/LimitedDownloadsExtension.php b/src/DependencyInjection/LimitedDownloadsExtension.php index 578caa3..4b4a332 100644 --- a/src/DependencyInjection/LimitedDownloadsExtension.php +++ b/src/DependencyInjection/LimitedDownloadsExtension.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Eiswurm\LimitedDownloadsBundle\DependencyInjection; +namespace Mummert\LimitedDownloadsBundle\DependencyInjection; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; diff --git a/src/EventListener/FormSubmissionListener.php b/src/EventListener/FormSubmissionListener.php index c5864ab..0797cf6 100644 --- a/src/EventListener/FormSubmissionListener.php +++ b/src/EventListener/FormSubmissionListener.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Eiswurm\LimitedDownloadsBundle\EventListener; +namespace Mummert\LimitedDownloadsBundle\EventListener; use Contao\CoreBundle\DependencyInjection\Attribute\AsHook; use Contao\Form; use Contao\StringUtil; -use Eiswurm\LimitedDownloadsBundle\Repository\TimedDownloadRepository; -use Eiswurm\LimitedDownloadsBundle\Service\ProtectedFileProvider; -use Eiswurm\LimitedDownloadsBundle\TimedDownloadSession; +use Mummert\LimitedDownloadsBundle\Repository\TimedDownloadRepository; +use Mummert\LimitedDownloadsBundle\Service\ProtectedFileProvider; +use Mummert\LimitedDownloadsBundle\TimedDownloadSession; use Psr\Log\LoggerInterface; use Symfony\Component\HttpFoundation\RequestStack; diff --git a/src/LimitedDownloadsBundle.php b/src/LimitedDownloadsBundle.php index 37f66c2..c19d2aa 100644 --- a/src/LimitedDownloadsBundle.php +++ b/src/LimitedDownloadsBundle.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Eiswurm\LimitedDownloadsBundle; +namespace Mummert\LimitedDownloadsBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; diff --git a/src/Repository/TimedDownloadRepository.php b/src/Repository/TimedDownloadRepository.php index 0b18ab7..9baa813 100644 --- a/src/Repository/TimedDownloadRepository.php +++ b/src/Repository/TimedDownloadRepository.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Eiswurm\LimitedDownloadsBundle\Repository; +namespace Mummert\LimitedDownloadsBundle\Repository; use Doctrine\DBAL\Connection; use Doctrine\DBAL\Exception\UniqueConstraintViolationException; diff --git a/src/Service/ProtectedFileProvider.php b/src/Service/ProtectedFileProvider.php index 1602737..a22b84f 100644 --- a/src/Service/ProtectedFileProvider.php +++ b/src/Service/ProtectedFileProvider.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Eiswurm\LimitedDownloadsBundle\Service; +namespace Mummert\LimitedDownloadsBundle\Service; use Contao\File; use Doctrine\DBAL\Connection; diff --git a/src/TimedDownloadSession.php b/src/TimedDownloadSession.php index f809452..b19878b 100644 --- a/src/TimedDownloadSession.php +++ b/src/TimedDownloadSession.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Eiswurm\LimitedDownloadsBundle; +namespace Mummert\LimitedDownloadsBundle; final class TimedDownloadSession {