Page MenuHomeDevCentral

SentryServiceProvider.php
No OneTemporary

SentryServiceProvider.php

<?php
namespace Nasqueron\Notifications\Providers;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Support\ServiceProvider;
class SentryServiceProvider extends ServiceProvider {
/**
* Bootstraps the application services.
*/
public function boot() : void {
}
/**
* Registers the application services.
*/
public function register() : void {
$this->app->singleton('raven', function (Application $app) {
$config = $app->make('config');
$dsn = $config->get('services.sentry.dsn');
return new \Raven_Client($dsn);
});
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 16, 13:43 (21 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3165391
Default Alt Text
SentryServiceProvider.php (633 B)

Event Timeline