public function boot() { $this->publishConfigs(); // register common validator $this->registerValidator(); }