Split controllers per application

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

View File

@ -0,0 +1,31 @@
<?php
/**
* Orange Management
*
* PHP Version 7.2
*
* @package Modules\Tools
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://website.orange-management.de
*/
declare(strict_types=1);
namespace Modules\Tools\Controller;
use phpOMS\Module\ModuleAbstract;
use phpOMS\Module\WebInterface;
/**
* Tools class.
*
* @package Modules\Tools
* @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); declare(strict_types=1);
namespace Modules\Tools; namespace Modules\Tools\Controller;
use phpOMS\Module\ModuleAbstract; use phpOMS\Module\ModuleAbstract;
use phpOMS\Module\WebInterface; use phpOMS\Module\WebInterface;
@ -25,7 +25,7 @@ use phpOMS\Module\WebInterface;
* @link http://website.orange-management.de * @link http://website.orange-management.de
* @since 1.0.0 * @since 1.0.0
*/ */
final class Controller extends ModuleAbstract implements WebInterface class Controller extends ModuleAbstract implements WebInterface
{ {
/** /**
@ -34,7 +34,7 @@ final class Controller extends ModuleAbstract implements WebInterface
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_PATH = __DIR__; public const MODULE_PATH = __DIR__ . '/../';
/** /**
* Module version. * Module version.