'\App\Models\Invoice', 'proposals' => '\App\Models\Proposal', ]); Blade::if('env', function ($environment) { return config('ninja.environment') === $environment; }); Schema::defaultStringLength(191); User::observe(UserObserver::class); Account::observe(AccountObserver::class); Client::observe(ClientObserver::class); Company::observe(CompanyObserver::class); CompanyToken::observe(CompanyTokenObserver::class); Expense::observe(ExpenseObserver::class); Invoice::observe(InvoiceObserver::class); Payment::observe(PaymentObserver::class); Product::observe(ProductObserver::class); Proposal::observe(ProposalObserver::class); Quote::observe(QuoteObserver::class); Task::observe(TaskObserver::class); } /** * Register any application services. * * @return void */ public function register() { $this->loadHelpers(); } protected function loadHelpers() { foreach (glob(__DIR__.'/../Helpers/*.php') as $filename) { require_once $filename; } } }