2015-02-05 21:52:16 -06:00
|
|
|
<?php namespace FireflyIII\Providers;
|
2015-02-05 21:39:52 -06:00
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
2015-02-11 00:35:10 -06:00
|
|
|
/**
|
|
|
|
* Class AppServiceProvider
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Providers
|
2015-05-25 12:58:13 -05:00
|
|
|
*
|
|
|
|
* @codeCoverageIgnore
|
2015-02-11 00:35:10 -06:00
|
|
|
*/
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
|
|
{
|
2015-02-05 21:39:52 -06:00
|
|
|
|
2015-02-11 00:35:10 -06:00
|
|
|
/**
|
|
|
|
* Bootstrap any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
2015-02-05 21:39:52 -06:00
|
|
|
|
2015-02-11 00:35:10 -06: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',
|
|
|
|
'FireflyIII\Services\Registrar'
|
|
|
|
);
|
2015-05-01 11:44:49 -05:00
|
|
|
|
2015-02-11 00:35:10 -06:00
|
|
|
}
|
2015-02-05 21:39:52 -06:00
|
|
|
|
|
|
|
}
|