mirror of
https://github.com/Karaka-Management/oms-Tag.git
synced 2026-01-10 15:28:39 +00:00
44 lines
883 B
PHP
44 lines
883 B
PHP
<?php
|
|
/**
|
|
* Karaka
|
|
*
|
|
* PHP Version 8.1
|
|
*
|
|
* @package Modules\Tag\Admin\Install
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 2.0
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Tag\Admin\Install;
|
|
|
|
use phpOMS\Application\ApplicationAbstract;
|
|
|
|
/**
|
|
* Admin class.
|
|
*
|
|
* @package Modules\Tag\Admin\Install
|
|
* @license OMS License 2.0
|
|
* @link https://jingga.app
|
|
* @since 1.0.0
|
|
*/
|
|
class Admin
|
|
{
|
|
/**
|
|
* Install Admin providing
|
|
*
|
|
* @param ApplicationAbstract $app Application
|
|
* @param string $path Module path
|
|
*
|
|
* @return void
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
public static function install(ApplicationAbstract $app, string $path) : void
|
|
{
|
|
\Modules\Admin\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Admin.install.json']);
|
|
}
|
|
}
|