Files
spa-api/app/Providers/AppServiceProvider.php

35 lines
661 B
PHP
Raw Normal View History

2014-11-05 10:18:53 -06:00
<?php namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider {
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
/**
* Register any application services.
*
* 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!
*
2014-11-05 10:18:53 -06:00
* @return void
*/
public function register()
{
$this->app->bind(
'Illuminate\Contracts\Auth\Registrar',
'App\Services\Registrar'
);
2014-11-05 10:18:53 -06:00
}
}