You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
693 B
29 lines
693 B
<?php
|
|
|
|
namespace App\Domains\Billing\Providers;
|
|
|
|
use App\Domains\Admission\Events\Pricing\AdmissionFeeRateWasSetUp;
|
|
use App\Domains\Billing\Listeners\Catalog\ProductGenerated;
|
|
use App\Domains\System\Traits\Provider\RegistersDomainEvents;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class BillingServiceProvider extends ServiceProvider
|
|
{
|
|
use RegistersDomainEvents;
|
|
|
|
protected array $listen = [
|
|
AdmissionFeeRateWasSetUp::class => [
|
|
ProductGenerated::class
|
|
]
|
|
];
|
|
|
|
public function register(): void
|
|
{
|
|
$this->app->register(RelationshipServiceProvider::class);
|
|
}
|
|
|
|
public function boot(): void
|
|
{
|
|
$this->registerEvents();
|
|
}
|
|
}
|
|
|