Clean namespace to Mummert\EventManagerBundle
This commit is contained in:
+1
-2
@@ -17,8 +17,7 @@
|
|||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"MummertMedia\\EventManagerBundle\\": "src/",
|
"Mummert\\EventManagerBundle\\": "src/"
|
||||||
"Mummert\\EventManagerBundle\\": "src/Compat/"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
|
|||||||
@@ -3,16 +3,16 @@ services:
|
|||||||
autowire: true
|
autowire: true
|
||||||
autoconfigure: true
|
autoconfigure: true
|
||||||
|
|
||||||
MummertMedia\EventManagerBundle\:
|
Mummert\EventManagerBundle\:
|
||||||
resource: ../src/
|
resource: ../src/
|
||||||
exclude:
|
exclude:
|
||||||
- ../src/DependencyInjection/
|
- ../src/DependencyInjection/
|
||||||
- ../src/Contao/Manager/
|
- ../src/Contao/Manager/
|
||||||
- ../src/MummertMediaEventManagerBundle.php
|
- ../src/EventManagerBundle.php
|
||||||
|
|
||||||
MummertMedia\EventManagerBundle\EventListener\DataContainer\SetDateAddedCallback:
|
Mummert\EventManagerBundle\EventListener\DataContainer\SetDateAddedCallback:
|
||||||
tags:
|
tags:
|
||||||
- { name: contao.callback, table: tl_organization, target: config.onbeforesubmit, method: onBeforeSubmit }
|
- { name: contao.callback, table: tl_organization, target: config.onbeforesubmit, method: onBeforeSubmit }
|
||||||
- { name: contao.callback, table: tl_location, target: config.onbeforesubmit, method: onBeforeSubmit }
|
- { name: contao.callback, table: tl_location, target: config.onbeforesubmit, method: onBeforeSubmit }
|
||||||
|
|
||||||
MummertMedia\EventManagerBundle\Service\MapModuleDataProvider: ~
|
Mummert\EventManagerBundle\Service\MapModuleDataProvider: ~
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
$GLOBALS['TL_MODELS']['tl_organization'] = MummertMedia\EventManagerBundle\Model\OrganizationModel::class;
|
$GLOBALS['TL_MODELS']['tl_organization'] = Mummert\EventManagerBundle\Model\OrganizationModel::class;
|
||||||
$GLOBALS['TL_MODELS']['tl_location'] = MummertMedia\EventManagerBundle\Model\LocationModel::class;
|
$GLOBALS['TL_MODELS']['tl_location'] = Mummert\EventManagerBundle\Model\LocationModel::class;
|
||||||
|
|
||||||
$GLOBALS['BE_MOD']['content']['eventmanager_organisationen'] = [
|
$GLOBALS['BE_MOD']['content']['eventmanager_organisationen'] = [
|
||||||
'tables' => ['tl_organization'],
|
'tables' => ['tl_organization'],
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Mummert\EventManagerBundle\Contao\Manager;
|
|
||||||
|
|
||||||
use Contao\CalendarBundle\ContaoCalendarBundle;
|
|
||||||
use Contao\CoreBundle\ContaoCoreBundle;
|
|
||||||
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
|
|
||||||
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
|
|
||||||
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
|
|
||||||
use Mummert\EventManagerBundle\EventManagerBundle;
|
|
||||||
|
|
||||||
class Plugin implements BundlePluginInterface
|
|
||||||
{
|
|
||||||
public function getBundles(ParserInterface $parser): iterable
|
|
||||||
{
|
|
||||||
return [
|
|
||||||
BundleConfig::create(EventManagerBundle::class)
|
|
||||||
->setLoadAfter([ContaoCoreBundle::class, ContaoCalendarBundle::class]),
|
|
||||||
];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Mummert\EventManagerBundle;
|
|
||||||
|
|
||||||
use MummertMedia\EventManagerBundle\MummertMediaEventManagerBundle;
|
|
||||||
|
|
||||||
class EventManagerBundle extends MummertMediaEventManagerBundle
|
|
||||||
{
|
|
||||||
}
|
|
||||||
@@ -2,21 +2,21 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Contao\Manager;
|
namespace Mummert\EventManagerBundle\Contao\Manager;
|
||||||
|
|
||||||
use Contao\CalendarBundle\ContaoCalendarBundle;
|
use Contao\CalendarBundle\ContaoCalendarBundle;
|
||||||
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 MummertMedia\EventManagerBundle\MummertMediaEventManagerBundle;
|
use Mummert\EventManagerBundle\EventManagerBundle;
|
||||||
|
|
||||||
class Plugin implements BundlePluginInterface
|
class Plugin implements BundlePluginInterface
|
||||||
{
|
{
|
||||||
public function getBundles(ParserInterface $parser): iterable
|
public function getBundles(ParserInterface $parser): iterable
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
BundleConfig::create(MummertMediaEventManagerBundle::class)
|
BundleConfig::create(EventManagerBundle::class)
|
||||||
->setLoadAfter([ContaoCoreBundle::class, ContaoCalendarBundle::class]),
|
->setLoadAfter([ContaoCoreBundle::class, ContaoCalendarBundle::class]),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Controller\Frontend;
|
namespace Mummert\EventManagerBundle\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;
|
||||||
@@ -13,8 +13,8 @@ use Contao\FrontendUser;
|
|||||||
use Contao\ModuleModel;
|
use Contao\ModuleModel;
|
||||||
use Contao\PageModel;
|
use Contao\PageModel;
|
||||||
use Contao\StringUtil;
|
use Contao\StringUtil;
|
||||||
use MummertMedia\EventManagerBundle\Form\EventType;
|
use Mummert\EventManagerBundle\Form\EventType;
|
||||||
use MummertMedia\EventManagerBundle\Service\EventRepository;
|
use Mummert\EventManagerBundle\Service\EventRepository;
|
||||||
use Symfony\Component\Form\FormError;
|
use Symfony\Component\Form\FormError;
|
||||||
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
||||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Controller\Frontend;
|
namespace Mummert\EventManagerBundle\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;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Controller\Frontend;
|
namespace Mummert\EventManagerBundle\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;
|
||||||
@@ -10,7 +10,7 @@ use Contao\CoreBundle\Twig\FragmentTemplate;
|
|||||||
use Contao\ModuleModel;
|
use Contao\ModuleModel;
|
||||||
use Contao\PageModel;
|
use Contao\PageModel;
|
||||||
use Contao\StringUtil;
|
use Contao\StringUtil;
|
||||||
use MummertMedia\EventManagerBundle\Service\MapModuleDataProvider;
|
use Mummert\EventManagerBundle\Service\MapModuleDataProvider;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Controller\Frontend;
|
namespace Mummert\EventManagerBundle\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;
|
||||||
@@ -11,7 +11,7 @@ use Contao\FrontendUser;
|
|||||||
use Contao\ModuleModel;
|
use Contao\ModuleModel;
|
||||||
use Contao\PageModel;
|
use Contao\PageModel;
|
||||||
use Contao\StringUtil;
|
use Contao\StringUtil;
|
||||||
use MummertMedia\EventManagerBundle\Service\EventRepository;
|
use Mummert\EventManagerBundle\Service\EventRepository;
|
||||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Controller\Frontend;
|
namespace Mummert\EventManagerBundle\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;
|
||||||
@@ -11,7 +11,7 @@ use Contao\FrontendUser;
|
|||||||
use Contao\ModuleModel;
|
use Contao\ModuleModel;
|
||||||
use Contao\PageModel;
|
use Contao\PageModel;
|
||||||
use Contao\StringUtil;
|
use Contao\StringUtil;
|
||||||
use MummertMedia\EventManagerBundle\Service\OrganizationRepository;
|
use Mummert\EventManagerBundle\Service\OrganizationRepository;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Controller\Frontend;
|
namespace Mummert\EventManagerBundle\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;
|
||||||
@@ -13,8 +13,8 @@ use Contao\FrontendUser;
|
|||||||
use Contao\ModuleModel;
|
use Contao\ModuleModel;
|
||||||
use Contao\PageModel;
|
use Contao\PageModel;
|
||||||
use Contao\StringUtil;
|
use Contao\StringUtil;
|
||||||
use MummertMedia\EventManagerBundle\Form\OrganizationType;
|
use Mummert\EventManagerBundle\Form\OrganizationType;
|
||||||
use MummertMedia\EventManagerBundle\Service\OrganizationRepository;
|
use Mummert\EventManagerBundle\Service\OrganizationRepository;
|
||||||
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
||||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
|||||||
+2
-2
@@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\DependencyInjection;
|
namespace Mummert\EventManagerBundle\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Component\Config\FileLocator;
|
use Symfony\Component\Config\FileLocator;
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Component\DependencyInjection\Extension\Extension;
|
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||||
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
|
||||||
|
|
||||||
class MummertMediaEventManagerExtension extends Extension
|
class EventManagerExtension extends Extension
|
||||||
{
|
{
|
||||||
public function load(array $configs, ContainerBuilder $container): void
|
public function load(array $configs, ContainerBuilder $container): void
|
||||||
{
|
{
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\EventListener\DataContainer;
|
namespace Mummert\EventManagerBundle\EventListener\DataContainer;
|
||||||
|
|
||||||
use Contao\DataContainer;
|
use Contao\DataContainer;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\EventListener;
|
namespace Mummert\EventManagerBundle\EventListener;
|
||||||
|
|
||||||
use Contao\CoreBundle\DependencyInjection\Attribute\AsHook;
|
use Contao\CoreBundle\DependencyInjection\Attribute\AsHook;
|
||||||
use Contao\StringUtil;
|
use Contao\StringUtil;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\EventListener;
|
namespace Mummert\EventManagerBundle\EventListener;
|
||||||
|
|
||||||
use Contao\CoreBundle\DependencyInjection\Attribute\AsHook;
|
use Contao\CoreBundle\DependencyInjection\Attribute\AsHook;
|
||||||
use Contao\Module;
|
use Contao\Module;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\EventListener;
|
namespace Mummert\EventManagerBundle\EventListener;
|
||||||
|
|
||||||
use Contao\CoreBundle\DependencyInjection\Attribute\AsHook;
|
use Contao\CoreBundle\DependencyInjection\Attribute\AsHook;
|
||||||
use Contao\StringUtil;
|
use Contao\StringUtil;
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle;
|
namespace Mummert\EventManagerBundle;
|
||||||
|
|
||||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||||
|
|
||||||
class MummertMediaEventManagerBundle extends Bundle
|
class EventManagerBundle extends Bundle
|
||||||
{
|
{
|
||||||
public function getPath(): string
|
public function getPath(): string
|
||||||
{
|
{
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Form;
|
namespace Mummert\EventManagerBundle\Form;
|
||||||
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
|
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Form;
|
namespace Mummert\EventManagerBundle\Form;
|
||||||
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
|
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Model;
|
namespace Mummert\EventManagerBundle\Model;
|
||||||
|
|
||||||
use Contao\Model;
|
use Contao\Model;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Model;
|
namespace Mummert\EventManagerBundle\Model;
|
||||||
|
|
||||||
use Contao\Model;
|
use Contao\Model;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Service;
|
namespace Mummert\EventManagerBundle\Service;
|
||||||
|
|
||||||
use Doctrine\DBAL\Connection;
|
use Doctrine\DBAL\Connection;
|
||||||
use Doctrine\DBAL\ParameterType;
|
use Doctrine\DBAL\ParameterType;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Service;
|
namespace Mummert\EventManagerBundle\Service;
|
||||||
|
|
||||||
use Contao\CalendarEventsModel;
|
use Contao\CalendarEventsModel;
|
||||||
use Contao\CoreBundle\Framework\ContaoFramework;
|
use Contao\CoreBundle\Framework\ContaoFramework;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace MummertMedia\EventManagerBundle\Service;
|
namespace Mummert\EventManagerBundle\Service;
|
||||||
|
|
||||||
use Doctrine\DBAL\Connection;
|
use Doctrine\DBAL\Connection;
|
||||||
use Doctrine\DBAL\ParameterType;
|
use Doctrine\DBAL\ParameterType;
|
||||||
|
|||||||
Reference in New Issue
Block a user