fix phpcs findings

This commit is contained in:
Dennis Eichhorn 2019-09-12 19:48:00 +02:00
parent 24333efe70
commit bd13e19c2f
37 changed files with 417 additions and 397 deletions

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization\Admin\Install * @package Modules\Organization\Admin\Install
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DatabasePool;
/** /**
* Navigation class. * Navigation class.
* *
* @package Modules\Organization\Admin\Install * @package Modules\Organization\Admin\Install
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
class Navigation class Navigation
{ {
@ -34,7 +34,7 @@ class Navigation
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public static function install(string $path, DatabasePool $dbPool) : void public static function install(string $path, DatabasePool $dbPool) : void
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization\Admin * @package Modules\Organization\Admin
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -24,10 +24,10 @@ use phpOMS\Module\InstallerAbstract;
/** /**
* Installer class. * Installer class.
* *
* @package Modules\Organization\Admin * @package Modules\Organization\Admin
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
class Installer extends InstallerAbstract class Installer extends InstallerAbstract
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization\Admin * @package Modules\Organization\Admin
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\Module\StatusAbstract;
/** /**
* Navigation class. * Navigation class.
* *
* @package Modules\Organization\Admin * @package Modules\Organization\Admin
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
class Status extends StatusAbstract class Status extends StatusAbstract
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization\Admin * @package Modules\Organization\Admin
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\Module\UninstallerAbstract;
/** /**
* Uninstaller class. * Uninstaller class.
* *
* @package Modules\Organization\Admin * @package Modules\Organization\Admin
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
class Uninstaller extends UninstallerAbstract class Uninstaller extends UninstallerAbstract
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization\Admin * @package Modules\Organization\Admin
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -22,10 +22,10 @@ use phpOMS\System\File\Local\Directory;
/** /**
* Navigation class. * Navigation class.
* *
* @package Modules\Organization\Admin * @package Modules\Organization\Admin
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
class Updater extends UpdaterAbstract class Updater extends UpdaterAbstract
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -33,10 +33,10 @@ use phpOMS\Utils\Parser\Markdown\Markdown;
/** /**
* Organization Controller class. * Organization Controller class.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
final class ApiController extends Controller final class ApiController extends Controller
{ {
@ -48,7 +48,7 @@ final class ApiController extends Controller
* *
* @return array<string, bool> * @return array<string, bool>
* *
* @since 1.0.0 * @since 1.0.0
*/ */
private function validateUnitCreate(RequestAbstract $request) : array private function validateUnitCreate(RequestAbstract $request) : array
{ {
@ -80,7 +80,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiUnitGet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiUnitGet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -99,7 +99,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiUnitSet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiUnitSet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -116,7 +116,7 @@ final class ApiController extends Controller
* *
* @return Unit * @return Unit
* *
* @since 1.0.0 * @since 1.0.0
*/ */
private function updateUnitFromRequest(RequestAbstract $request) : Unit private function updateUnitFromRequest(RequestAbstract $request) : Unit
{ {
@ -143,7 +143,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiUnitDelete(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiUnitDelete(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -163,7 +163,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiUnitCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiUnitCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -185,7 +185,7 @@ final class ApiController extends Controller
* *
* @return Unit * @return Unit
* *
* @since 1.0.0 * @since 1.0.0
*/ */
private function createUnitFromRequest(RequestAbstract $request) : Unit private function createUnitFromRequest(RequestAbstract $request) : Unit
{ {
@ -208,7 +208,7 @@ final class ApiController extends Controller
* *
* @return array<string, bool> * @return array<string, bool>
* *
* @since 1.0.0 * @since 1.0.0
*/ */
private function validatePositionCreate(RequestAbstract $request) : array private function validatePositionCreate(RequestAbstract $request) : array
{ {
@ -240,7 +240,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiPositionGet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiPositionGet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -259,7 +259,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiPositionDelete(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiPositionDelete(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -279,7 +279,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiPositionSet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiPositionSet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -296,7 +296,7 @@ final class ApiController extends Controller
* *
* @return Position * @return Position
* *
* @since 1.0.0 * @since 1.0.0
*/ */
private function updatePositionFromRequest(RequestAbstract $request) : Position private function updatePositionFromRequest(RequestAbstract $request) : Position
{ {
@ -326,7 +326,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiPositionCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiPositionCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -348,7 +348,7 @@ final class ApiController extends Controller
* *
* @return Position * @return Position
* *
* @since 1.0.0 * @since 1.0.0
*/ */
private function createPositionFromRequest(RequestAbstract $request) : Position private function createPositionFromRequest(RequestAbstract $request) : Position
{ {
@ -374,7 +374,7 @@ final class ApiController extends Controller
* *
* @return array<string, bool> * @return array<string, bool>
* *
* @since 1.0.0 * @since 1.0.0
*/ */
private function validateDepartmentCreate(RequestAbstract $request) : array private function validateDepartmentCreate(RequestAbstract $request) : array
{ {
@ -405,7 +405,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiDepartmentGet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiDepartmentGet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -424,7 +424,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiDepartmentSet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiDepartmentSet(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -441,7 +441,7 @@ final class ApiController extends Controller
* *
* @return Department * @return Department
* *
* @since 1.0.0 * @since 1.0.0
*/ */
private function updateDepartmentFromRequest(RequestAbstract $request) : Department private function updateDepartmentFromRequest(RequestAbstract $request) : Department
{ {
@ -471,7 +471,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiDepartmentDelete(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiDepartmentDelete(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -491,7 +491,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiDepartmentCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiDepartmentCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -513,7 +513,7 @@ final class ApiController extends Controller
* *
* @return Department * @return Department
* *
* @since 1.0.0 * @since 1.0.0
*/ */
private function createDepartmentFromRequest(RequestAbstract $request) : Department private function createDepartmentFromRequest(RequestAbstract $request) : Department
{ {
@ -541,7 +541,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiUnitFind(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiUnitFind(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -565,7 +565,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiDepartmentFind(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiDepartmentFind(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {
@ -589,7 +589,7 @@ final class ApiController extends Controller
* *
* @api * @api
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function apiPositionFind(RequestAbstract $request, ResponseAbstract $response, $data = null) : void public function apiPositionFind(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -28,22 +28,24 @@ use phpOMS\Views\View;
/** /**
* Organization Controller class. * Organization Controller class.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
final class BackendController extends Controller final class BackendController extends Controller
{ {
/** /**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request * @param RequestAbstract $request Request
* @param ResponseAbstract $response Response * @param ResponseAbstract $response Response
* @param mixed $data Generic data * @param mixed $data Generic data
* *
* @return RenderableInterface * @return RenderableInterface
* *
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
public function viewUnitList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface public function viewUnitList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -59,13 +61,15 @@ final class BackendController extends Controller
} }
/** /**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request * @param RequestAbstract $request Request
* @param ResponseAbstract $response Response * @param ResponseAbstract $response Response
* @param mixed $data Generic data * @param mixed $data Generic data
* *
* @return RenderableInterface * @return RenderableInterface
* *
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
public function viewUnitProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface public function viewUnitProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -86,13 +90,15 @@ final class BackendController extends Controller
} }
/** /**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request * @param RequestAbstract $request Request
* @param ResponseAbstract $response Response * @param ResponseAbstract $response Response
* @param mixed $data Generic data * @param mixed $data Generic data
* *
* @return RenderableInterface * @return RenderableInterface
* *
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
public function viewOrganigram(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface public function viewOrganigram(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -149,13 +155,15 @@ final class BackendController extends Controller
} }
/** /**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request * @param RequestAbstract $request Request
* @param ResponseAbstract $response Response * @param ResponseAbstract $response Response
* @param mixed $data Generic data * @param mixed $data Generic data
* *
* @return RenderableInterface * @return RenderableInterface
* *
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
public function viewUnitCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface public function viewUnitCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -178,13 +186,15 @@ final class BackendController extends Controller
} }
/** /**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request * @param RequestAbstract $request Request
* @param ResponseAbstract $response Response * @param ResponseAbstract $response Response
* @param mixed $data Generic data * @param mixed $data Generic data
* *
* @return RenderableInterface * @return RenderableInterface
* *
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
public function viewDepartmentList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface public function viewDepartmentList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -200,13 +210,15 @@ final class BackendController extends Controller
} }
/** /**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request * @param RequestAbstract $request Request
* @param ResponseAbstract $response Response * @param ResponseAbstract $response Response
* @param mixed $data Generic data * @param mixed $data Generic data
* *
* @return RenderableInterface * @return RenderableInterface
* *
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
public function viewDepartmentProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface public function viewDepartmentProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -231,13 +243,15 @@ final class BackendController extends Controller
} }
/** /**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request * @param RequestAbstract $request Request
* @param ResponseAbstract $response Response * @param ResponseAbstract $response Response
* @param mixed $data Generic data * @param mixed $data Generic data
* *
* @return RenderableInterface * @return RenderableInterface
* *
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
public function viewDepartmentCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface public function viewDepartmentCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -260,13 +274,15 @@ final class BackendController extends Controller
} }
/** /**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request * @param RequestAbstract $request Request
* @param ResponseAbstract $response Response * @param ResponseAbstract $response Response
* @param mixed $data Generic data * @param mixed $data Generic data
* *
* @return RenderableInterface * @return RenderableInterface
* *
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
public function viewPositionList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface public function viewPositionList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -282,13 +298,15 @@ final class BackendController extends Controller
} }
/** /**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request * @param RequestAbstract $request Request
* @param ResponseAbstract $response Response * @param ResponseAbstract $response Response
* @param mixed $data Generic data * @param mixed $data Generic data
* *
* @return RenderableInterface * @return RenderableInterface
* *
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
public function viewPositionProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface public function viewPositionProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -313,13 +331,15 @@ final class BackendController extends Controller
} }
/** /**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request * @param RequestAbstract $request Request
* @param ResponseAbstract $response Response * @param ResponseAbstract $response Response
* @param mixed $data Generic data * @param mixed $data Generic data
* *
* @return RenderableInterface * @return RenderableInterface
* *
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
public function viewPositionCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface public function viewPositionCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -20,10 +20,10 @@ use phpOMS\Module\WebInterface;
/** /**
* Organization Controller class. * Organization Controller class.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
class Controller extends ModuleAbstract implements WebInterface class Controller extends ModuleAbstract implements WebInterface
{ {
@ -31,7 +31,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Module path. * Module path.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_PATH = __DIR__ . '/../'; public const MODULE_PATH = __DIR__ . '/../';
@ -39,7 +39,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Module version. * Module version.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_VERSION = '1.0.0'; public const MODULE_VERSION = '1.0.0';
@ -47,7 +47,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Module name. * Module name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_NAME = 'Organization'; public const MODULE_NAME = 'Organization';
@ -55,7 +55,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Module id. * Module id.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_ID = 1004700000; public const MODULE_ID = 1004700000;
@ -63,7 +63,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Providing. * Providing.
* *
* @var string[] * @var string[]
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $providing = []; protected static array $providing = [];
@ -71,7 +71,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Dependencies. * Dependencies.
* *
* @var string[] * @var string[]
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $dependencies = []; protected static array $dependencies = [];

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -19,17 +19,17 @@ use phpOMS\Contract\ArrayableInterface;
/** /**
* Organization department class. * Organization department class.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
class Department implements ArrayableInterface, \JsonSerializable class Department implements ArrayableInterface, \JsonSerializable
{ {
/** /**
* Article ID. * Article ID.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
protected int $id = 0; protected int $id = 0;
@ -37,7 +37,7 @@ class Department implements ArrayableInterface, \JsonSerializable
/** /**
* Name. * Name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected string $name = ''; protected string $name = '';
@ -45,7 +45,7 @@ class Department implements ArrayableInterface, \JsonSerializable
/** /**
* Parent * Parent
* *
* @var mixed * @var mixed
* @since 1.0.0 * @since 1.0.0
*/ */
protected $parent = null; protected $parent = null;
@ -53,7 +53,7 @@ class Department implements ArrayableInterface, \JsonSerializable
/** /**
* Status * Status
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
protected int $status = Status::INACTIVE; protected int $status = Status::INACTIVE;
@ -61,7 +61,7 @@ class Department implements ArrayableInterface, \JsonSerializable
/** /**
* Unit this department belongs to * Unit this department belongs to
* *
* @var mixed * @var mixed
* @since 1.0.0 * @since 1.0.0
*/ */
protected $unit = 1; protected $unit = 1;
@ -69,7 +69,7 @@ class Department implements ArrayableInterface, \JsonSerializable
/** /**
* Description. * Description.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected string $description = ''; protected string $description = '';
@ -77,7 +77,7 @@ class Department implements ArrayableInterface, \JsonSerializable
/** /**
* Description. * Description.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected string $descriptionRaw = ''; protected string $descriptionRaw = '';
@ -87,7 +87,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @param string $name Department name * @param string $name Department name
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function __construct(string $name = '') public function __construct(string $name = '')
{ {
@ -99,7 +99,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return int * @return int
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getId() : int public function getId() : int
{ {
@ -111,7 +111,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return string * @return string
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getName() : string public function getName() : string
{ {
@ -125,7 +125,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setName(string $name) : void public function setName(string $name) : void
{ {
@ -137,7 +137,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return mixed * @return mixed
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getParent() public function getParent()
{ {
@ -151,7 +151,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setParent($parent) : void public function setParent($parent) : void
{ {
@ -163,7 +163,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return int * @return int
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getStatus() : int public function getStatus() : int
{ {
@ -177,7 +177,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setStatus(int $status) : void public function setStatus(int $status) : void
{ {
@ -189,7 +189,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return mixed * @return mixed
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getUnit() public function getUnit()
{ {
@ -203,7 +203,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setUnit($unit) : void public function setUnit($unit) : void
{ {
@ -215,7 +215,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return string * @return string
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getDescription() : string public function getDescription() : string
{ {
@ -229,7 +229,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setDescription(string $desc) : void public function setDescription(string $desc) : void
{ {
@ -241,7 +241,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return string * @return string
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getDescriptionRaw() : string public function getDescriptionRaw() : string
{ {
@ -255,7 +255,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setDescriptionRaw(string $desc) : void public function setDescriptionRaw(string $desc) : void
{ {
@ -280,7 +280,7 @@ class Department implements ArrayableInterface, \JsonSerializable
* *
* @return string * @return string
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function __toString() public function __toString()
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -19,17 +19,17 @@ use phpOMS\DataStorage\Database\DataMapperAbstract;
/** /**
* Organization department mapper class. * Organization department mapper class.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
final class DepartmentMapper extends DataMapperAbstract final class DepartmentMapper extends DataMapperAbstract
{ {
/** /**
* Columns. * Columns.
* *
* @var array<string, array<string, bool|string>> * @var array<string, array<string, bool|string>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $columns = [ protected static array $columns = [
@ -45,7 +45,7 @@ final class DepartmentMapper extends DataMapperAbstract
/** /**
* Belongs to. * Belongs to.
* *
* @var array<string, array<string, string>> * @var array<string, array<string, string>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $belongsTo = [ protected static array $belongsTo = [
@ -62,7 +62,7 @@ final class DepartmentMapper extends DataMapperAbstract
/** /**
* Primary table. * Primary table.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $table = 'organization_department'; protected static string $table = 'organization_department';
@ -70,7 +70,7 @@ final class DepartmentMapper extends DataMapperAbstract
/** /**
* Primary field name. * Primary field name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $primaryField = 'organization_department_id'; protected static string $primaryField = 'organization_department_id';

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -17,10 +17,10 @@ namespace Modules\Organization\Models;
/** /**
* Organization null class. * Organization null class.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
class NullDepartment extends Department class NullDepartment extends Department
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -17,10 +17,10 @@ namespace Modules\Organization\Models;
/** /**
* Organization null class. * Organization null class.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
class NullPosition extends Position class NullPosition extends Position
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -17,10 +17,10 @@ namespace Modules\Organization\Models;
/** /**
* Organization null class. * Organization null class.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
class NullUnit extends Unit class NullUnit extends Unit
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum;
/** /**
* Permision state enum. * Permision state enum.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
abstract class PermissionState extends Enum abstract class PermissionState extends Enum
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -19,17 +19,17 @@ use phpOMS\Contract\ArrayableInterface;
/** /**
* Organization position class. * Organization position class.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
class Position implements ArrayableInterface, \JsonSerializable class Position implements ArrayableInterface, \JsonSerializable
{ {
/** /**
* Article ID. * Article ID.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
protected int $id = 0; protected int $id = 0;
@ -37,7 +37,7 @@ class Position implements ArrayableInterface, \JsonSerializable
/** /**
* Name. * Name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $name = ''; private string $name = '';
@ -45,7 +45,7 @@ class Position implements ArrayableInterface, \JsonSerializable
/** /**
* Parent * Parent
* *
* @var mixed * @var mixed
* @since 1.0.0 * @since 1.0.0
*/ */
private $parent = null; private $parent = null;
@ -53,7 +53,7 @@ class Position implements ArrayableInterface, \JsonSerializable
/** /**
* Department * Department
* *
* @var mixed * @var mixed
* @since 1.0.0 * @since 1.0.0
*/ */
private $department = null; private $department = null;
@ -61,7 +61,7 @@ class Position implements ArrayableInterface, \JsonSerializable
/** /**
* Description. * Description.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $description = ''; private string $description = '';
@ -69,7 +69,7 @@ class Position implements ArrayableInterface, \JsonSerializable
/** /**
* Description. * Description.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $descriptionRaw = ''; private string $descriptionRaw = '';
@ -77,7 +77,7 @@ class Position implements ArrayableInterface, \JsonSerializable
/** /**
* Status * Status
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
protected int $status = Status::INACTIVE; protected int $status = Status::INACTIVE;
@ -87,7 +87,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return int * @return int
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getId() : int public function getId() : int
{ {
@ -99,7 +99,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return string * @return string
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getName() : string public function getName() : string
{ {
@ -113,7 +113,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setName(string $name) : void public function setName(string $name) : void
{ {
@ -125,7 +125,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return mixed * @return mixed
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getParent() public function getParent()
{ {
@ -139,7 +139,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setParent($parent) : void public function setParent($parent) : void
{ {
@ -151,7 +151,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return mixed * @return mixed
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getDepartment() public function getDepartment()
{ {
@ -165,7 +165,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setDepartment($department) : void public function setDepartment($department) : void
{ {
@ -177,7 +177,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return int * @return int
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getStatus() : int public function getStatus() : int
{ {
@ -191,7 +191,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setStatus(int $status) : void public function setStatus(int $status) : void
{ {
@ -203,7 +203,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return string * @return string
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getDescription() : string public function getDescription() : string
{ {
@ -217,7 +217,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setDescription(string $desc) : void public function setDescription(string $desc) : void
{ {
@ -229,7 +229,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return string * @return string
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getDescriptionRaw() : string public function getDescriptionRaw() : string
{ {
@ -243,7 +243,7 @@ class Position implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setDescriptionRaw(string $desc) : void public function setDescriptionRaw(string $desc) : void
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract;
/** /**
* Organization position mapper class. * Organization position mapper class.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
final class PositionMapper extends DataMapperAbstract final class PositionMapper extends DataMapperAbstract
{ {
@ -30,7 +30,7 @@ final class PositionMapper extends DataMapperAbstract
/** /**
* Columns. * Columns.
* *
* @var array<string, array<string, bool|string>> * @var array<string, array<string, bool|string>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $columns = [ protected static array $columns = [
@ -46,7 +46,7 @@ final class PositionMapper extends DataMapperAbstract
/** /**
* Belongs to. * Belongs to.
* *
* @var array<string, array<string, string>> * @var array<string, array<string, string>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $belongsTo = [ protected static array $belongsTo = [
@ -63,7 +63,7 @@ final class PositionMapper extends DataMapperAbstract
/** /**
* Primary table. * Primary table.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $table = 'organization_position'; protected static string $table = 'organization_position';
@ -71,7 +71,7 @@ final class PositionMapper extends DataMapperAbstract
/** /**
* Primary field name. * Primary field name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $primaryField = 'organization_position_id'; protected static string $primaryField = 'organization_position_id';

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum;
/** /**
* Accept status enum. * Accept status enum.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
abstract class Status extends Enum abstract class Status extends Enum
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -19,17 +19,17 @@ use phpOMS\Contract\ArrayableInterface;
/** /**
* Organization unit class. * Organization unit class.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
class Unit implements ArrayableInterface, \JsonSerializable class Unit implements ArrayableInterface, \JsonSerializable
{ {
/** /**
* Article ID. * Article ID.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
private int $id = 0; private int $id = 0;
@ -37,7 +37,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
/** /**
* Name. * Name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $name = ''; private string $name = '';
@ -45,7 +45,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
/** /**
* Parent * Parent
* *
* @var mixed * @var mixed
* @since 1.0.0 * @since 1.0.0
*/ */
private $parent = null; private $parent = null;
@ -53,7 +53,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
/** /**
* Description. * Description.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $description = ''; private string $description = '';
@ -61,7 +61,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
/** /**
* Description. * Description.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected string $descriptionRaw = ''; protected string $descriptionRaw = '';
@ -69,7 +69,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
/** /**
* Status * Status
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
protected int $status = Status::INACTIVE; protected int $status = Status::INACTIVE;
@ -79,7 +79,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
* *
* @return int * @return int
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getId() : int public function getId() : int
{ {
@ -91,7 +91,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
* *
* @return string * @return string
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getName() : string public function getName() : string
{ {
@ -105,7 +105,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setName(string $name) : void public function setName(string $name) : void
{ {
@ -117,7 +117,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
* *
* @return mixed * @return mixed
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getParent() public function getParent()
{ {
@ -131,7 +131,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setParent($parent) : void public function setParent($parent) : void
{ {
@ -143,7 +143,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
* *
* @return int * @return int
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getStatus() : int public function getStatus() : int
{ {
@ -157,7 +157,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setStatus(int $status) : void public function setStatus(int $status) : void
{ {
@ -169,7 +169,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
* *
* @return string * @return string
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getDescription() : string public function getDescription() : string
{ {
@ -183,7 +183,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setDescription(string $desc) : void public function setDescription(string $desc) : void
{ {
@ -195,7 +195,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
* *
* @return string * @return string
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getDescriptionRaw() : string public function getDescriptionRaw() : string
{ {
@ -209,7 +209,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
* *
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setDescriptionRaw(string $desc) : void public function setDescriptionRaw(string $desc) : void
{ {

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package Modules\Organization * @package Modules\Organization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -19,17 +19,17 @@ use phpOMS\DataStorage\Database\DataMapperAbstract;
/** /**
* Organization unit mapper class. * Organization unit mapper class.
* *
* @package Modules\Organization * @package Modules\Organization
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
final class UnitMapper extends DataMapperAbstract final class UnitMapper extends DataMapperAbstract
{ {
/** /**
* Columns. * Columns.
* *
* @var array<string, array<string, bool|string>> * @var array<string, array<string, bool|string>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $columns = [ protected static array $columns = [
@ -44,7 +44,7 @@ final class UnitMapper extends DataMapperAbstract
/** /**
* Belongs to. * Belongs to.
* *
* @var array<string, array<string, string>> * @var array<string, array<string, string>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $belongsTo = [ protected static array $belongsTo = [
@ -61,7 +61,7 @@ final class UnitMapper extends DataMapperAbstract
/** /**
* Primary table. * Primary table.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $table = 'organization_unit'; protected static string $table = 'organization_unit';
@ -69,7 +69,7 @@ final class UnitMapper extends DataMapperAbstract
/** /**
* Primary field name. * Primary field name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $primaryField = 'organization_unit_id'; protected static string $primaryField = 'organization_unit_id';

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -22,10 +22,10 @@ use phpOMS\Views\View;
/** /**
* Component view. * Component view.
* *
* @package TBD * @package TBD
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
class DepartmentTagSelectorPopupView extends View class DepartmentTagSelectorPopupView extends View

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -22,10 +22,10 @@ use phpOMS\Views\View;
/** /**
* Component view. * Component view.
* *
* @package TBD * @package TBD
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
class DepartmentTagSelectorView extends View class DepartmentTagSelectorView extends View

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -22,10 +22,10 @@ use phpOMS\Views\View;
/** /**
* Component view. * Component view.
* *
* @package TBD * @package TBD
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
class PositionTagSelectorPopupView extends View class PositionTagSelectorPopupView extends View

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -22,10 +22,10 @@ use phpOMS\Views\View;
/** /**
* Component view. * Component view.
* *
* @package TBD * @package TBD
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
class PositionTagSelectorView extends View class PositionTagSelectorView extends View

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -22,10 +22,10 @@ use phpOMS\Views\View;
/** /**
* Component view. * Component view.
* *
* @package TBD * @package TBD
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
class UnitTagSelectorPopupView extends View class UnitTagSelectorPopupView extends View

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -22,10 +22,10 @@ use phpOMS\Views\View;
/** /**
* Component view. * Component view.
* *
* @package TBD * @package TBD
* @license OMS License 1.0 * @license OMS License 1.0
* @link https://orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
class UnitTagSelectorView extends View class UnitTagSelectorView extends View

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
return ['Navigation' => [ return ['Navigation' => [
'Departments' => 'Departments', 'Departments' => 'Departments',

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
return ['Organization' => [ return ['Organization' => [
'Active' => 'Active', 'Active' => 'Active',

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
/** /**
* @var \phpOMS\Views\View $this * @var \phpOMS\Views\View $this

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
/** /**
* @var \phpOMS\Views\View $this * @var \phpOMS\Views\View $this

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
/** /**
* @var \phpOMS\Views\View $this * @var \phpOMS\Views\View $this

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
/** /**
* @var \phpOMS\Views\View $this * @var \phpOMS\Views\View $this

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
/** /**
* @var \phpOMS\Views\View $this * @var \phpOMS\Views\View $this

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
/** /**
* @var \phpOMS\Views\View $this * @var \phpOMS\Views\View $this

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
/** /**
* @var \phpOMS\Views\View $this * @var \phpOMS\Views\View $this

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
/** /**
* @var \phpOMS\Views\View $this * @var \phpOMS\Views\View $this

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
/** /**
* @var \phpOMS\Views\View $this * @var \phpOMS\Views\View $this

View File

@ -4,11 +4,11 @@
* *
* PHP Version 7.4 * PHP Version 7.4
* *
* @package TBD * @package TBD
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
/** /**
* @var \phpOMS\Views\View $this * @var \phpOMS\Views\View $this