* @since 1.0.0 */ private static array $nav = []; /** * Install navigation 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\Navigation\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Navigation.install.json']); } /** * Install language files. * * @param string $destPath Destination language path * @param string $srcPath Source language path * * @return void * * @throws PathException * @throws PermissionException * * @since 1.0.0 */ protected static function installLanguageFiles(string $destPath, string $srcPath) : void { if (!\is_file($srcPath)) { return; } if (!\is_file($destPath)) { \file_put_contents($destPath, '