31 lines
528 B
PHP
31 lines
528 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\Facades\App;
|
|
use Illuminate\Support\ServiceProvider;
|
|
use App\Lib\LDC\MailjetSms;
|
|
|
|
class MailjetSmsServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Bootstrap services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
App::singleton('MailjetSms', function ($app) {
|
|
return new MailjetSms($app);
|
|
});
|
|
}
|
|
}
|