This is required by Laravel 5 for deferred service providers.
This solved issue #2. According to Laravel 5 documentation (http://laravel.com/docs/master/providers), Deferred service providers need a provides() method that returns the name of the binding.
To defer the loading of a provider, set the defer property to true and define a provides method. The provides method returns the service container bindings that the provider registers:
This is required by Laravel 5 for deferred service providers.
This solved issue #2. According to Laravel 5 documentation (http://laravel.com/docs/master/providers), Deferred service providers need a provides() method that returns the name of the binding.