Cleanup service providers

This commit is contained in:
Graham Campbell
2015-05-28 19:46:54 +01:00
parent 5540a50fae
commit 3f9ebb8abf
13 changed files with 116 additions and 219 deletions
+3 -16
View File
@@ -16,25 +16,12 @@ use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*/
public function boot()
{
//
}
/**
* Register any application services.
* Register the service provider.
*
* This service provider is a great spot to register your various container
* bindings with the application. As you can see, we are registering our
* "Registrar" implementation here. You can add your own bindings too!
* @return void
*/
public function register()
{
$this->app->bind(
'Illuminate\Contracts\Auth\Registrar',
'CachetHQ\Cachet\Services\Registrar'
);
$this->app->bind('Illuminate\Contracts\Auth\Registrar', 'CachetHQ\Cachet\Services\Registrar');
}
}