mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-18 09:04:35 +01:00
f118f3bfda
* Show custom messages * Fix getSetting key * Add custom messages support with variable parsing
32 lines
528 B
PHP
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()
|
|
{
|
|
//
|
|
}
|
|
}
|