njasm / laravel5-soundcloud

Soundcloud API Service Provider For Laravel 5
MIT License
15 stars 9 forks source link

Fixes issue #2. Added provides() method to Service Provider... #3

Closed lamoni closed 9 years ago

lamoni commented 9 years ago

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:
njasm commented 9 years ago

merged thanks!