In-Touch / laravel-newrelic

Laravel NewRelic ServiceProvider
173 stars 48 forks source link

Lumen 5.5 - Fix application routes loop #57

Open JuanKman94 opened 6 years ago

JuanKman94 commented 6 years ago

Using Lumen 5.5 app()->getRoutes() no longer works, the method needs to be called directly on the router

thiagorb commented 4 years ago

@JuanKman94 I guess it would be better to have some fallback logic to keep it working with versions prior to 5.5, cause before 5.5 there was no router property in the Application class. I wrote it as a comment to https://github.com/In-Touch/laravel-newrelic/pull/63.