public function boot() { $this->registerModule(); $this->registerMiddleware(); $this->registerAdminMenu(); $this->registerPolicies(); $this->registerViewComposerData(); }