for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NotificationChannels;
use GuzzleHttp\Client as HttpClient;
use Illuminate\Support\Facades\Notification;
use Illuminate\Support\ServiceProvider;
use NotificationChannels\HangoutsChatChannel;
class HangoutsChatChannelServiceProvider extends ServiceProvider
{
/**
* Register the service provider.
*
* @return void
*/
public function register()
Notification::resolved(function (ChannelManager $service) {
$service->extend('hangoutsChat', function ($app) {
return new HangoutsChatChannel($app->make(HttpClient::class));
});
}