public function boot() { $routeValidator = Route::getValidators(); $routeValidator['module']->boot(app('xe.router'), app('xe.menu'), app('xe.theme'), app('xe.site')); }