Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
qtdcvxyp
/
karir.star4hire.com
/
modules
✏️
Editing: ModuleServiceProvider.php
<?php namespace Modules; use Illuminate\Contracts\Foundation\CachesConfiguration; class ModuleServiceProvider extends \Illuminate\Support\ServiceProvider { public static function getAdminMenu(){ return []; } public static function getAdminSubmenu(){ return []; } public static function getBookableServices(){ return []; } public static function getMenuBuilderTypes(){ return []; } public static function adminUserMenu(){ return []; } public static function adminUserSubMenu(){ return []; } public static function getUserMenu(){ return []; } public static function getUserMenuCategory(){ return []; } public static function getUserSubMenu(){ return []; } public static function getTemplateBlocks(){ return []; } public static function getPaymentGateway(){ return []; } public static function getActionsHook(){ return []; } public static function getFiltersHook(){ return []; } function register() { $actions = static::getActionsHook(); if(!empty($actions)){ foreach ($actions as $args){ call_user_func_array('add_action',$args); } } $filters = static::getFiltersHook(); if(!empty($filters)){ foreach ($filters as $args){ call_user_func_array('add_filter',$args); } } } /** * Merge the given configuration with the existing configuration. * * @param string $path * @param string $key * @return void */ protected function mergeConfigFrom($path, $key) { if (! ($this->app instanceof CachesConfiguration && $this->app->configurationIsCached())) { $config = $this->app->make('config'); $config->set($key, array_merge( $config->get($key, []),require $path )); } } }
💾 Save Changes
❌ Cancel