2020-04-13 03:48:23 +02:00
|
|
|
<?php
|
2024-05-28 01:08:23 +02:00
|
|
|
/**
|
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
|
|
|
* @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
|
|
|
|
*
|
|
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
|
|
|
*/
|
2020-04-13 03:48:23 +02:00
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
|
|
|
use App\Utils\ClientPortal\CustomMessage\CustomMessage;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
|
|
|
class ClientPortalServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Register services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function register()
|
|
|
|
{
|
2023-10-26 04:57:44 +02:00
|
|
|
app()->bind('customMessage', function () {
|
2023-07-07 08:10:46 +02:00
|
|
|
return new CustomMessage();
|
|
|
|
});
|
2024-01-14 05:05:00 +01:00
|
|
|
|
2020-04-13 03:48:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Bootstrap services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
2023-07-07 08:07:52 +02:00
|
|
|
|
2020-04-13 03:48:23 +02:00
|
|
|
}
|
|
|
|
}
|