2018-11-21 12:40:34 +00:00
|
|
|
<?php
|
|
|
|
namespace App\Providers;
|
2015-07-19 06:49:24 +00:00
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
2018-11-21 12:40:34 +00:00
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Bootstrap any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
2015-07-19 06:49:24 +00:00
|
|
|
|
2018-11-21 12:40:34 +00:00
|
|
|
/**
|
|
|
|
* 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!
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function register()
|
|
|
|
{
|
|
|
|
$this->app->bind(
|
|
|
|
'Illuminate\Contracts\Auth\Registrar'
|
|
|
|
// 'App\Services\Registrar'
|
|
|
|
);
|
|
|
|
}
|
2015-07-19 06:49:24 +00:00
|
|
|
}
|