src/CenterServiceProvider.php
private function config() {
		$this->loadViewsFrom(__DIR__ . '/views', 'center');
		$this->loadTranslationsFrom(__DIR__ . '/translations', 'center');
		$this->publishes([
			__DIR__ . '/../assets/public' => public_path('vendor/center'),
		], 'public');
		$this->publishes([
			__DIR__ . '/config' => config_path('center'),
		], 'config');
		$this->publishes([
			__DIR__ . '/translations/en/site.php' => app_path('../resources/lang/vendor/center/en/site.php'),
			__DIR__ . '/translations/en/users.php' => app_path('../resources/lang/vendor/center/en/users.php'),
		], 'lang');
		//include __DIR__ . '/macros.php';
		include __DIR__ . '/routes.php';
	}
private function config() {
		$this->loadViewsFrom(__DIR__ . '/views', 'center');
		$this->loadTranslationsFrom(__DIR__ . '/translations', 'center');
		$this->publishes([
			__DIR__ . '/../assets/public' => public_path('vendor/center'),
		], 'public');
		$this->publishes([
			__DIR__ . '/config' => config_path('center'),
		], 'config');
		$this->publishes([
			__DIR__ . '/translations/en/site.php' => app_path('../resources/lang/vendor/center/en/site.php'),
			__DIR__ . '/translations/en/users.php' => app_path('../resources/lang/vendor/center/en/users.php'),
		], 'lang');
		//include __DIR__ . '/macros.php';
		include __DIR__ . '/routes.php';
	}
private function config ( ) { $ this -> loadViewsFrom ( __DIR__ . '/views' , 'center' ) ; $ this -> loadTranslationsFrom ( __DIR__ . '/translations' , 'center' ) ; $ this -> publishes ( [ __DIR__ . '/../assets/public' => public_path ( 'vendor/center' ) , ] , 'public' ) ; $ this -> publishes ( [ __DIR__ . '/config' => config_path ( 'center' ) , ] , 'config' ) ; $ this -> publishes ( [ __DIR__ . '/translations/en/site.php' => app_path ( '../resources/lang/vendor/center/en/site.php' ) , __DIR__ . '/translations/en/users.php' => app_path ( '../resources/lang/vendor/center/en/users.php' ) , ] , 'lang' ) ; //include __DIR__ . '/macros.php'; include __DIR__ . '/routes.php' ; }
set up publishes paths and define config locations
set up publishes paths and define config locations