composer( [ 'accounts.details', 'clients.edit', 'vendors.edit', 'payments.edit', 'invoices.edit', 'accounts.localization', 'payments.credit_card', ], 'App\Http\ViewComposers\TranslationComposer' ); view()->composer( [ 'header', 'tasks.edit', ], 'App\Http\ViewComposers\AppLanguageComposer' ); view()->composer( [ 'public.header', ], 'App\Http\ViewComposers\ClientPortalHeaderComposer' ); } /** * Register the service provider. * * @return void */ public function register() { } }