1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-06 03:02:34 +01:00
invoiceninja/app/Providers/ClientPortalServiceProvider.php
Benjamin Beganović f118f3bfda
Show custom messages (#3616)
* Show custom messages

* Fix getSetting key

* Add custom messages support with variable parsing
2020-04-13 11:48:23 +10:00

32 lines
528 B
PHP

<?php
namespace App\Providers;
use App\Utils\ClientPortal\CustomMessage\CustomMessage;
use Illuminate\Support\ServiceProvider;
class ClientPortalServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
app()->bind('customMessage', function () {
return new CustomMessage();
});
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
//
}
}