2020-08-30 22:06:01 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
2020-10-21 00:01:41 +00:00
|
|
|
use Illuminate\Support\ServiceProvider;
|
2020-10-21 00:29:50 +00:00
|
|
|
use App;
|
2020-08-30 22:06:01 +00:00
|
|
|
|
|
|
|
class OptionsProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Register services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function register()
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Bootstrap services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
2020-10-21 00:29:50 +00:00
|
|
|
App::bind('smOptions', function (){
|
2020-08-30 22:06:01 +00:00
|
|
|
return new App\Helpers\Options();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|