Move namespace below initial file comment

This commit is contained in:
Daniel Siepmann 2021-08-10 09:38:59 +02:00
parent a27eae4148
commit dc09713884
55 changed files with 110 additions and 110 deletions

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Controller\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Controller\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Controller\Backend;
use TYPO3\CMS\Backend\View\BackendTemplateView; use TYPO3\CMS\Backend\View\BackendTemplateView;
use TYPO3\CMS\Extbase\Mvc\Controller\ActionController; use TYPO3\CMS\Extbase\Mvc\Controller\ActionController;
use TYPO3\CMS\Extbase\Mvc\View\ViewInterface; use TYPO3\CMS\Extbase\Mvc\View\ViewInterface;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Controller\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Controller\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Controller\Backend;
use TYPO3\CMS\Core\Messaging\AbstractMessage; use TYPO3\CMS\Core\Messaging\AbstractMessage;
use WerkraumMedia\ThueCat\Domain\Import\Importer; use WerkraumMedia\ThueCat\Domain\Import\Importer;
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration; use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Controller\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Controller\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Controller\Backend;
use WerkraumMedia\ThueCat\Domain\Repository\Backend\ImportConfigurationRepository; use WerkraumMedia\ThueCat\Domain\Repository\Backend\ImportConfigurationRepository;
use WerkraumMedia\ThueCat\Domain\Repository\Backend\OrganisationRepository; use WerkraumMedia\ThueCat\Domain\Repository\Backend\OrganisationRepository;
use WerkraumMedia\ThueCat\View\Backend\Menu; use WerkraumMedia\ThueCat\View\Backend\Menu;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\DependencyInjection;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\DependencyInjection;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\DependencyInjection;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ContainerBuilder;
use WerkraumMedia\ThueCat\Domain\Import\Converter\Registry; use WerkraumMedia\ThueCat\Domain\Import\Converter\Registry;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\DependencyInjection;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\DependencyInjection;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\DependencyInjection;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ContainerBuilder;
use WerkraumMedia\ThueCat\Domain\Import\UrlProvider\Registry; use WerkraumMedia\ThueCat\Domain\Import\UrlProvider\Registry;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
use WerkraumMedia\ThueCat\Domain\Import\Model\EntityCollection; use WerkraumMedia\ThueCat\Domain\Import\Model\EntityCollection;
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration; use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use WerkraumMedia\ThueCat\Domain\Import\Importer\LanguageHandling; use WerkraumMedia\ThueCat\Domain\Import\Importer\LanguageHandling;
use WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser; use WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
/** /**
* Central registry of all available converters. * Central registry of all available converters.
*/ */

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use WerkraumMedia\ThueCat\Domain\Import\Importer\LanguageHandling; use WerkraumMedia\ThueCat\Domain\Import\Importer\LanguageHandling;
use WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser; use WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use WerkraumMedia\ThueCat\Domain\Import\Importer\LanguageHandling; use WerkraumMedia\ThueCat\Domain\Import\Importer\LanguageHandling;
use WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser; use WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Converter;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use WerkraumMedia\ThueCat\Domain\Import\Importer\LanguageHandling; use WerkraumMedia\ThueCat\Domain\Import\Importer\LanguageHandling;
use WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser; use WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use WerkraumMedia\ThueCat\Domain\Import\Converter\Converter; use WerkraumMedia\ThueCat\Domain\Import\Converter\Converter;
use WerkraumMedia\ThueCat\Domain\Import\Converter\Registry as ConverterRegistry; use WerkraumMedia\ThueCat\Domain\Import\Converter\Registry as ConverterRegistry;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\Importer;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Importer;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Importer;
use Psr\Http\Client\ClientInterface; use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestFactoryInterface;
use Psr\Http\Message\RequestInterface; use Psr\Http\Message\RequestInterface;

View file

@ -1,7 +1,5 @@
<?php <?php
namespace WerkraumMedia\ThueCat\Domain\Import\Importer\FetchData;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -21,6 +19,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Importer\FetchData;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Importer\FetchData;
class InvalidResponseException extends \RuntimeException class InvalidResponseException extends \RuntimeException
{ {
} }

View file

@ -1,7 +1,5 @@
<?php <?php
namespace WerkraumMedia\ThueCat\Domain\Import\Importer;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -21,6 +19,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Importer;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Importer;
use TYPO3\CMS\Core\Site\Entity\SiteLanguage; use TYPO3\CMS\Core\Site\Entity\SiteLanguage;
use TYPO3\CMS\Core\Site\SiteFinder; use TYPO3\CMS\Core\Site\SiteFinder;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\Importer;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Importer;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Importer;
use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\DataHandling\DataHandler; use TYPO3\CMS\Core\DataHandling\DataHandler;
use WerkraumMedia\ThueCat\Domain\Import\Model\Entity; use WerkraumMedia\ThueCat\Domain\Import\Model\Entity;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD;
use TYPO3\CMS\Core\Site\Entity\SiteLanguage; use TYPO3\CMS\Core\Site\Entity\SiteLanguage;
use WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser\Address; use WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser\Address;
use WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser\GenericFields; use WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser\GenericFields;

View file

@ -1,7 +1,5 @@
<?php <?php
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -21,6 +19,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
class Address class Address
{ {
public function get(array $jsonLD): array public function get(array $jsonLD): array

View file

@ -1,7 +1,5 @@
<?php <?php
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -21,6 +19,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
use TYPO3\CMS\Core\Site\Entity\SiteLanguage; use TYPO3\CMS\Core\Site\Entity\SiteLanguage;
class GenericFields class GenericFields

View file

@ -1,7 +1,5 @@
<?php <?php
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -21,6 +19,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
use TYPO3\CMS\Core\Site\Entity\SiteLanguage; use TYPO3\CMS\Core\Site\Entity\SiteLanguage;
class LanguageValues class LanguageValues

View file

@ -1,7 +1,5 @@
<?php <?php
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -21,6 +19,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
use WerkraumMedia\ThueCat\Domain\Import\Importer\FetchData; use WerkraumMedia\ThueCat\Domain\Import\Importer\FetchData;
use WerkraumMedia\ThueCat\Domain\Import\Importer\FetchData\InvalidResponseException; use WerkraumMedia\ThueCat\Domain\Import\Importer\FetchData\InvalidResponseException;

View file

@ -1,7 +1,5 @@
<?php <?php
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -21,6 +19,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
use TYPO3\CMS\Core\Site\Entity\SiteLanguage; use TYPO3\CMS\Core\Site\Entity\SiteLanguage;
class Offers class Offers

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\JsonLD\Parser;
class OpeningHours class OpeningHours
{ {
public function get(array $jsonLD): array public function get(array $jsonLD): array

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\Model;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Model;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Model;
interface Entity interface Entity
{ {
public function getTypo3StoragePid(): int; public function getTypo3StoragePid(): int;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\Model;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Model;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Model;
class EntityCollection class EntityCollection
{ {
/** /**

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\Model;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\Model;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\Model;
class GenericEntity implements Entity class GenericEntity implements Entity
{ {
/** /**

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import;
use Psr\Http\Message\RequestInterface; use Psr\Http\Message\RequestInterface;
use TYPO3\CMS\Core\Configuration\Exception\ExtensionConfigurationExtensionNotConfiguredException; use TYPO3\CMS\Core\Configuration\Exception\ExtensionConfigurationExtensionNotConfiguredException;
use TYPO3\CMS\Core\Configuration\ExtensionConfiguration; use TYPO3\CMS\Core\Configuration\ExtensionConfiguration;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\UrlProvider;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\UrlProvider;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\UrlProvider;
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration; use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration;
/** /**

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\UrlProvider;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\UrlProvider;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\UrlProvider;
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration; use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration;
class StaticUrlProvider implements UrlProvider class StaticUrlProvider implements UrlProvider

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\UrlProvider;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\UrlProvider;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\UrlProvider;
use WerkraumMedia\ThueCat\Domain\Import\Importer\FetchData; use WerkraumMedia\ThueCat\Domain\Import\Importer\FetchData;
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration; use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Import\UrlProvider;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Import\UrlProvider;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Import\UrlProvider;
use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration; use WerkraumMedia\ThueCat\Domain\Model\Backend\ImportConfiguration;
interface UrlProvider interface UrlProvider

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity as Typo3AbstractEntity; use TYPO3\CMS\Extbase\DomainObject\AbstractEntity as Typo3AbstractEntity;
class AbstractEntity extends Typo3AbstractEntity class AbstractEntity extends Typo3AbstractEntity

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
use TYPO3\CMS\Core\Utility\ArrayUtility; use TYPO3\CMS\Core\Utility\ArrayUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity; use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity as Typo3AbstractEntity; use TYPO3\CMS\Extbase\DomainObject\AbstractEntity as Typo3AbstractEntity;
use TYPO3\CMS\Extbase\Persistence\ObjectStorage; use TYPO3\CMS\Extbase\Persistence\ObjectStorage;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity as Typo3AbstractEntity; use TYPO3\CMS\Extbase\DomainObject\AbstractEntity as Typo3AbstractEntity;
use WerkraumMedia\ThueCat\Domain\Import\Model\Entity; use WerkraumMedia\ThueCat\Domain\Import\Model\Entity;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
use TYPO3\CMS\Extbase\Persistence\ObjectStorage; use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
class Organisation extends AbstractEntity class Organisation extends AbstractEntity

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
class TouristInformation extends AbstractEntity class TouristInformation extends AbstractEntity
{ {
} }

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Backend;
use TYPO3\CMS\Extbase\Persistence\ObjectStorage; use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
class Town extends AbstractEntity class Town extends AbstractEntity

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
use TYPO3\CMS\Core\Type\TypeInterface; use TYPO3\CMS\Core\Type\TypeInterface;
class Address implements TypeInterface class Address implements TypeInterface

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
use TYPO3\CMS\Core\Type\TypeInterface; use TYPO3\CMS\Core\Type\TypeInterface;
class Media implements TypeInterface class Media implements TypeInterface

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
class Offer class Offer
{ {
/** /**

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
use TYPO3\CMS\Core\Type\TypeInterface; use TYPO3\CMS\Core\Type\TypeInterface;
/** /**

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
class OpeningHour class OpeningHour
{ {
/** /**

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
use TYPO3\CMS\Core\Type\TypeInterface; use TYPO3\CMS\Core\Type\TypeInterface;
/** /**

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
class Price class Price
{ {
/** /**

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity; use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
class TouristAttraction extends AbstractEntity class TouristAttraction extends AbstractEntity

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Model\Frontend;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity; use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
class Town extends AbstractEntity class Town extends AbstractEntity

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Repository\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Repository\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Repository\Backend;
use TYPO3\CMS\Extbase\Object\ObjectManagerInterface; use TYPO3\CMS\Extbase\Object\ObjectManagerInterface;
use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings; use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings;
use TYPO3\CMS\Extbase\Persistence\Repository; use TYPO3\CMS\Extbase\Persistence\Repository;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Repository\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Repository\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Repository\Backend;
use TYPO3\CMS\Core\DataHandling\DataHandler; use TYPO3\CMS\Core\DataHandling\DataHandler;
use TYPO3\CMS\Extbase\Object\ObjectManagerInterface; use TYPO3\CMS\Extbase\Object\ObjectManagerInterface;
use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings; use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Repository\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Repository\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Repository\Backend;
use TYPO3\CMS\Extbase\Object\ObjectManagerInterface; use TYPO3\CMS\Extbase\Object\ObjectManagerInterface;
use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings; use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings;
use TYPO3\CMS\Extbase\Persistence\Repository; use TYPO3\CMS\Extbase\Persistence\Repository;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Domain\Repository\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Domain\Repository\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Domain\Repository\Backend;
use TYPO3\CMS\Extbase\Object\ObjectManagerInterface; use TYPO3\CMS\Extbase\Object\ObjectManagerInterface;
use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings; use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings;
use TYPO3\CMS\Extbase\Persistence\Repository; use TYPO3\CMS\Extbase\Persistence\Repository;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat;
use TYPO3\CMS\Core\Cache\Backend\TransientMemoryBackend; use TYPO3\CMS\Core\Cache\Backend\TransientMemoryBackend;
use TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider; use TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider;
use TYPO3\CMS\Core\Imaging\IconRegistry; use TYPO3\CMS\Core\Imaging\IconRegistry;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Frontend\DataProcessing;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Frontend\DataProcessing;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Frontend\DataProcessing;
use TYPO3\CMS\Core\Database\Connection; use TYPO3\CMS\Core\Database\Connection;
use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\Typo3Wrapper;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\Typo3Wrapper;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\Typo3Wrapper;
use TYPO3\CMS\Extbase\Utility\LocalizationUtility; use TYPO3\CMS\Extbase\Utility\LocalizationUtility;
class TranslationService class TranslationService

View file

@ -2,8 +2,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace WerkraumMedia\ThueCat\View\Backend;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
* *
@ -23,6 +21,8 @@ namespace WerkraumMedia\ThueCat\View\Backend;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace WerkraumMedia\ThueCat\View\Backend;
use TYPO3\CMS\Backend\Template\Components\MenuRegistry; use TYPO3\CMS\Backend\Template\Components\MenuRegistry;
use TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder; use TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder;
use WerkraumMedia\ThueCat\Controller\Backend\ImportController; use WerkraumMedia\ThueCat\Controller\Backend\ImportController;