/** * Handle the event. * * @param IncomeServiceWasCreated $event * @return void */ public function handle(IncomeServiceWasCreated $event) { $this->incomeService->createFundStructure($this->buildStructure($event->incomeServiceId, $this->fund->getActive()->toArray())); }