Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793275
SentryServiceProvider.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
673 B
Referenced Files
None
Subscribers
None
SentryServiceProvider.php
View Options
<?php
namespace
Nasqueron\Notifications\Providers
;
use
Illuminate\Contracts\Foundation\Application
;
use
Illuminate\Support\ServiceProvider
;
class
SentryServiceProvider
extends
ServiceProvider
{
/**
* Bootstraps the application services.
*
* @return void
*/
public
function
boot
()
{
}
/**
* Registers the application services.
*
* @return void
*/
public
function
register
()
{
$this
->
app
->
singleton
(
'raven'
,
function
(
Application
$app
)
{
$config
=
$app
->
make
(
'config'
);
$dsn
=
$config
->
get
(
'services.sentry.dsn'
);
return
new
\Raven_Client
(
$dsn
);
});
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Feb 28, 21:45 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2440921
Default Alt Text
SentryServiceProvider.php (673 B)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment