. */ namespace App\Providers; use App; use Illuminate\Support\ServiceProvider; class UUIDConversionProvider extends ServiceProvider { /** * Register services. * * @return void */ public function register() { // } /** * Bootstrap services. * * @return void */ public function boot() { App::bind('uuidConversionFacade', function () { return new App\UUID\UUID(); }); } }