/home/techb158/immovalet.com/vendor/laravel/cashier/src
NameSizeModeActions
Concerns/-0755rm
Console/-0755rm
Events/-0755rm
Exceptions/-0755rm
Http/-0755rm
Notifications/-0755rm
Billable.php4970644editdlrm
Cashier.php53230644editdlrm
CashierServiceProvider.php37150644editdlrm
Checkout.php39330644editdlrm
Coupon.php28370644editdlrm
CustomerBalanceTransaction.php34970644editdlrm
Discount.php18000644editdlrm
Invoice.php169470644editdlrm
InvoiceLineItem.php65620644editdlrm
Logger.php6550644editdlrm
Payment.php55850644editdlrm
PaymentMethod.php25830644editdlrm
Subscription.php354930644editdlrm
SubscriptionBuilder.php121340644editdlrm
SubscriptionItem.php71890644editdlrm
Tax.php20540644editdlrm
Edit: /home/techb158/immovalet.com/vendor/laravel/cashier/src/CashierServiceProvider.php (3715B)
registerLogger(); $this->registerRoutes(); $this->registerResources(); $this->registerMigrations(); $this->registerPublishing(); $this->registerCommands(); Stripe::setAppInfo( 'Laravel Cashier', Cashier::VERSION, 'https://laravel.com' ); } /** * Register any application services. * * @return void */ public function register() { $this->configure(); $this->bindLogger(); } /** * Setup the configuration for Cashier. * * @return void */ protected function configure() { $this->mergeConfigFrom( __DIR__.'/../config/cashier.php', 'cashier' ); } /** * Bind the Stripe logger interface to the Cashier logger. * * @return void */ protected function bindLogger() { $this->app->bind(LoggerInterface::class, function ($app) { return new Logger( $app->make('log')->channel(config('cashier.logger')) ); }); } /** * Register the Stripe logger. * * @return void */ protected function registerLogger() { if (config('cashier.logger')) { Stripe::setLogger($this->app->make(LoggerInterface::class)); } } /** * Register the package routes. * * @return void */ protected function registerRoutes() { if (Cashier::$registersRoutes) { Route::group([ 'prefix' => config('cashier.path'), 'namespace' => 'Laravel\Cashier\Http\Controllers', 'as' => 'cashier.', ], function () { $this->loadRoutesFrom(__DIR__.'/../routes/web.php'); }); } } /** * Register the package resources. * * @return void */ protected function registerResources() { $this->loadViewsFrom(__DIR__.'/../resources/views', 'cashier'); } /** * Register the package migrations. * * @return void */ protected function registerMigrations() { if (Cashier::$runsMigrations && $this->app->runningInConsole()) { $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); } } /** * Register the package's publishable resources. * * @return void */ protected function registerPublishing() { if ($this->app->runningInConsole()) { $this->publishes([ __DIR__.'/../config/cashier.php' => $this->app->configPath('cashier.php'), ], 'cashier-config'); $this->publishes([ __DIR__.'/../database/migrations' => $this->app->databasePath('migrations'), ], 'cashier-migrations'); $this->publishes([ __DIR__.'/../resources/views' => $this->app->resourcePath('views/vendor/cashier'), ], 'cashier-views'); } } /** * Register the package's commands. * * @return void */ protected function registerCommands() { if ($this->app->runningInConsole()) { $this->commands([ WebhookCommand::class, ]); } } }