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