'', # displayed as the memo * 'type' => [INTEGER], # from FareType enum class * 'price' => [DECIMAL], * 'cost' => [DECIMAL], # optional * 'notes' => '', # used as Transaction Group * ]); * * The event caller will check the 'type' to make sure that it * will filter out fares that only apply to the current process * * The event will have a copy of the PIREP model, if it's applicable */ class Fares extends Event { public ?Pirep $pirep; /** * @param Pirep|null $pirep */ public function __construct(Pirep $pirep = null) { $this->pirep = $pirep; } }