mirror of
https://github.com/Karaka-Management/oms-Help.git
synced 2026-01-11 12:58:41 +00:00
44 lines
951 B
PHP
Executable File
44 lines
951 B
PHP
Executable File
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.4
|
|
*
|
|
* @package Modules\Help\Admin\Install
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link https://orange-management.org
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Help\Admin\Install;
|
|
|
|
use phpOMS\DataStorage\Database\DatabasePool;
|
|
|
|
/**
|
|
* Search class.
|
|
*
|
|
* @package Modules\Help\Admin\Install
|
|
* @license OMS License 1.0
|
|
* @link https://orange-management.org
|
|
* @since 1.0.0
|
|
*/
|
|
final class Search
|
|
{
|
|
/**
|
|
* Install navigation providing
|
|
*
|
|
* @param string $path Module path
|
|
* @param DatabasePool $dbPool Database pool for database interaction
|
|
*
|
|
* @return void
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
public static function install(string $path, DatabasePool $dbPool) : void
|
|
{
|
|
\Modules\Search\Admin\Installer::installExternal($dbPool, ['path' => __DIR__ . '/SearchCommands.php']);
|
|
}
|
|
}
|