PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Notifications
<?php namespace Illuminate\Notifications; use Illuminate\Contracts\Notifications\Dispatcher as DispatcherContract; use Illuminate\Contracts\Notifications\Factory as FactoryContract; use Illuminate\Support\ServiceProvider; class NotificationServiceProvider extends ServiceProvider { /** * Boot the application services. * * @return void */ public function boot() { $this->loadViewsFrom(__DIR__.'/resources/views', 'notifications'); if ($this->app->runningInConsole()) { $this->publishes([ __DIR__.'/resources/views' => $this->app->resourcePath('views/vendor/notifications'), ], 'laravel-notifications'); } } /** * Register the service provider. * * @return void */ public function register() { $this->app->singleton(ChannelManager::class, function ($app) { return new ChannelManager($app); }); $this->app->alias( ChannelManager::class, DispatcherContract::class ); $this->app->alias( ChannelManager::class, FactoryContract::class ); } }
[-] composer.json
[edit]
[-] DatabaseNotificationCollection.php
[edit]
[-] SendQueuedNotifications.php
[edit]
[-] NotificationServiceProvider.php
[edit]
[-] Action.php
[edit]
[+]
..
[-] HasDatabaseNotifications.php
[edit]
[-] AnonymousNotifiable.php
[edit]
[-] ChannelManager.php
[edit]
[+]
Events
[-] Notifiable.php
[edit]
[+]
resources
[+]
Channels
[-] LICENSE.md
[edit]
[-] Notification.php
[edit]
[+]
Console
[-] DatabaseNotification.php
[edit]
[+]
Messages
[-] RoutesNotifications.php
[edit]
[-] NotificationSender.php
[edit]