osb/app/Providers/AppServiceProvider.php

32 lines
485 B
PHP
Raw Normal View History

2017-11-03 05:26:07 +00:00
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Leenooks\Traits\SingleOrFail;
2017-11-03 05:26:07 +00:00
class AppServiceProvider extends ServiceProvider
{
use SingleOrFail;
2017-11-03 05:26:07 +00:00
/**
2019-06-02 05:35:48 +00:00
* Register any application services.
2017-11-03 05:26:07 +00:00
*
* @return void
*/
2019-06-02 05:35:48 +00:00
public function register()
2017-11-03 05:26:07 +00:00
{
2019-06-02 05:35:48 +00:00
//
2017-11-03 05:26:07 +00:00
}
/**
2019-06-02 05:35:48 +00:00
* Bootstrap any application services.
2017-11-03 05:26:07 +00:00
*
* @return void
*/
2019-06-02 05:35:48 +00:00
public function boot()
2017-11-03 05:26:07 +00:00
{
SingleOrFail::bootSingleOrfail();
2017-11-03 05:26:07 +00:00
}
}