PHP 8.3.31
Preview: NotificationServiceProvider.php Size: 1.10 KB
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Notifications/NotificationServiceProvider.php

<?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, fn ($app) => new ChannelManager($app));

        $this->app->alias(
            ChannelManager::class, DispatcherContract::class
        );

        $this->app->alias(
            ChannelManager::class, FactoryContract::class
        );
    }
}

Directory Contents

Dirs: 5 × Files: 14

Name Size Perms Modified Actions
Channels DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
Console DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
Events DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
Messages DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
resources DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
479 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.60 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
3.87 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.19 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
2.84 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
664 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
809 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.05 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
120 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
768 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
7.69 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.10 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.27 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
4.84 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).