Skip to content

Instantly share code, notes, and snippets.

Created November 14, 2016 03:56
What would you like to do?
class AppServiceProvider extends ServiceProvider
* @return void
protected function registerRoutes()
$registry = $this->app->make(RouteRegistry::class);
if ($registry->isEmpty()) {
Log::info('Not adding any service routes - route file is missing');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment