staffmanager/app/Providers/OptionsProvider.php

32 lines
469 B
PHP
Raw Normal View History

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()
{
App::bind('sm-options', function (){
return new App\Helpers\Options();
});
}
}