Split controllers per application

This commit is contained in:
Dennis Eichhorn 2018-09-19 21:34:04 +02:00
parent 1a540cf4fe
commit 4a3774b68f
2 changed files with 35 additions and 3 deletions

View File

@ -0,0 +1,32 @@
<?php
/**
* Orange Management
*
* PHP Version 7.2
*
* @package Modules\Contact
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://website.orange-management.de
*/
declare(strict_types=1);
namespace Modules\Contact\Controller;
use phpOMS\Message\RequestDestination;
use phpOMS\Module\ModuleAbstract;
use phpOMS\Module\WebInterface;
/**
* Sales class.
*
* @package Modules\Contact
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
*/
class BackendController extends Controller
{
}

View File

@ -12,7 +12,7 @@
*/
declare(strict_types=1);
namespace Modules\Contact;
namespace Modules\Contact\Controller;
use phpOMS\Message\RequestDestination;
use phpOMS\Module\ModuleAbstract;
@ -26,7 +26,7 @@ use phpOMS\Module\WebInterface;
* @link http://website.orange-management.de
* @since 1.0.0
*/
final class Controller extends ModuleAbstract implements WebInterface
class Controller extends ModuleAbstract implements WebInterface
{
/**
@ -35,7 +35,7 @@ final class Controller extends ModuleAbstract implements WebInterface
* @var string
* @since 1.0.0
*/
public const MODULE_PATH = __DIR__;
public const MODULE_PATH = __DIR__ . '/../';
/**
* Module version.