We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11905e3 commit ab624eaCopy full SHA for ab624ea
src/Intouch/LaravelNewrelic/NewrelicServiceProvider.php
@@ -51,7 +51,8 @@ public function boot()
51
*/
52
public function register()
53
{
54
- $this->app['newrelic'] = $this->app->share(
+ $this->app->singleton(
55
+ 'newrelic',
56
function ( $app ) {
57
return new Newrelic( $app['config']->get( 'newrelic.throw_if_not_installed' ) );
58
}
0 commit comments