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.
2 parents 11905e3 + ab624ea commit 046dbaaCopy full SHA for 046dbaa
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