Rename namespace to Mummert\LimitedDownloadsBundle

This commit is contained in:
Jürgen Mummert
2026-03-08 10:19:40 +01:00
parent ad73e617c0
commit c1cccbf677
11 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -10,11 +10,11 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Eiswurm\\LimitedDownloadsBundle\\": "src/" "Mummert\\LimitedDownloadsBundle\\": "src/"
} }
}, },
"extra": { "extra": {
"contao-manager-plugin": "Eiswurm\\LimitedDownloadsBundle\\Contao\\Manager\\Plugin" "contao-manager-plugin": "Mummert\\LimitedDownloadsBundle\\Contao\\Manager\\Plugin"
}, },
"prefer-stable": true, "prefer-stable": true,
"config": { "config": {
+2 -2
View File
@@ -3,12 +3,12 @@ services:
autowire: true autowire: true
autoconfigure: true autoconfigure: true
Eiswurm\LimitedDownloadsBundle\: Mummert\LimitedDownloadsBundle\:
resource: ../src/ resource: ../src/
exclude: exclude:
- ../src/Contao/Manager/ - ../src/Contao/Manager/
- ../src/LimitedDownloadsBundle.php - ../src/LimitedDownloadsBundle.php
Eiswurm\LimitedDownloadsBundle\Controller\DownloadController: Mummert\LimitedDownloadsBundle\Controller\DownloadController:
bind: bind:
string $projectDir: '%kernel.project_dir%' string $projectDir: '%kernel.project_dir%'
+2 -2
View File
@@ -2,14 +2,14 @@
declare(strict_types=1); declare(strict_types=1);
namespace Eiswurm\LimitedDownloadsBundle\Contao\Manager; namespace Mummert\LimitedDownloadsBundle\Contao\Manager;
use Contao\CoreBundle\ContaoCoreBundle; use Contao\CoreBundle\ContaoCoreBundle;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface; use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig; use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
use Contao\ManagerPlugin\Routing\RoutingPluginInterface; use Contao\ManagerPlugin\Routing\RoutingPluginInterface;
use Eiswurm\LimitedDownloadsBundle\LimitedDownloadsBundle; use Mummert\LimitedDownloadsBundle\LimitedDownloadsBundle;
use Symfony\Component\Config\Loader\LoaderResolverInterface; use Symfony\Component\Config\Loader\LoaderResolverInterface;
use Symfony\Component\HttpKernel\KernelInterface; use Symfony\Component\HttpKernel\KernelInterface;
use Symfony\Component\Routing\RouteCollection; use Symfony\Component\Routing\RouteCollection;
+3 -3
View File
@@ -2,10 +2,10 @@
declare(strict_types=1); declare(strict_types=1);
namespace Eiswurm\LimitedDownloadsBundle\Controller; namespace Mummert\LimitedDownloadsBundle\Controller;
use Eiswurm\LimitedDownloadsBundle\Repository\TimedDownloadRepository; use Mummert\LimitedDownloadsBundle\Repository\TimedDownloadRepository;
use Eiswurm\LimitedDownloadsBundle\Service\ProtectedFileProvider; use Mummert\LimitedDownloadsBundle\Service\ProtectedFileProvider;
use Symfony\Component\HttpFoundation\BinaryFileResponse; use Symfony\Component\HttpFoundation\BinaryFileResponse;
use Symfony\Component\HttpFoundation\ResponseHeaderBag; use Symfony\Component\HttpFoundation\ResponseHeaderBag;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
@@ -2,14 +2,14 @@
declare(strict_types=1); declare(strict_types=1);
namespace Eiswurm\LimitedDownloadsBundle\Controller\Frontend; namespace Mummert\LimitedDownloadsBundle\Controller\Frontend;
use Contao\CoreBundle\Controller\FrontendModule\AbstractFrontendModuleController; use Contao\CoreBundle\Controller\FrontendModule\AbstractFrontendModuleController;
use Contao\CoreBundle\DependencyInjection\Attribute\AsFrontendModule; use Contao\CoreBundle\DependencyInjection\Attribute\AsFrontendModule;
use Contao\CoreBundle\Twig\FragmentTemplate; use Contao\CoreBundle\Twig\FragmentTemplate;
use Contao\ModuleModel; use Contao\ModuleModel;
use Eiswurm\LimitedDownloadsBundle\Repository\TimedDownloadRepository; use Mummert\LimitedDownloadsBundle\Repository\TimedDownloadRepository;
use Eiswurm\LimitedDownloadsBundle\TimedDownloadSession; use Mummert\LimitedDownloadsBundle\TimedDownloadSession;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpFoundation\RequestStack;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
@@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace Eiswurm\LimitedDownloadsBundle\DependencyInjection; namespace Mummert\LimitedDownloadsBundle\DependencyInjection;
use Symfony\Component\Config\FileLocator; use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ContainerBuilder;
+4 -4
View File
@@ -2,14 +2,14 @@
declare(strict_types=1); declare(strict_types=1);
namespace Eiswurm\LimitedDownloadsBundle\EventListener; namespace Mummert\LimitedDownloadsBundle\EventListener;
use Contao\CoreBundle\DependencyInjection\Attribute\AsHook; use Contao\CoreBundle\DependencyInjection\Attribute\AsHook;
use Contao\Form; use Contao\Form;
use Contao\StringUtil; use Contao\StringUtil;
use Eiswurm\LimitedDownloadsBundle\Repository\TimedDownloadRepository; use Mummert\LimitedDownloadsBundle\Repository\TimedDownloadRepository;
use Eiswurm\LimitedDownloadsBundle\Service\ProtectedFileProvider; use Mummert\LimitedDownloadsBundle\Service\ProtectedFileProvider;
use Eiswurm\LimitedDownloadsBundle\TimedDownloadSession; use Mummert\LimitedDownloadsBundle\TimedDownloadSession;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpFoundation\RequestStack;
+1 -1
View File
@@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace Eiswurm\LimitedDownloadsBundle; namespace Mummert\LimitedDownloadsBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle; use Symfony\Component\HttpKernel\Bundle\Bundle;
+1 -1
View File
@@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace Eiswurm\LimitedDownloadsBundle\Repository; namespace Mummert\LimitedDownloadsBundle\Repository;
use Doctrine\DBAL\Connection; use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Exception\UniqueConstraintViolationException; use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
+1 -1
View File
@@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace Eiswurm\LimitedDownloadsBundle\Service; namespace Mummert\LimitedDownloadsBundle\Service;
use Contao\File; use Contao\File;
use Doctrine\DBAL\Connection; use Doctrine\DBAL\Connection;
+1 -1
View File
@@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace Eiswurm\LimitedDownloadsBundle; namespace Mummert\LimitedDownloadsBundle;
final class TimedDownloadSession final class TimedDownloadSession
{ {