. */ declare(strict_types=1); namespace FireflyIII\Events; use FireflyIII\Models\TransactionGroup; use Illuminate\Queue\SerializesModels; /** * Class StoredTransactionGroup. * */ class StoredTransactionGroup extends Event { use SerializesModels; public bool $applyRules; public bool $fireWebhooks; public TransactionGroup $transactionGroup; /** * Create a new event instance. * * @param TransactionGroup $transactionGroup * @param bool $applyRules * @param bool $fireWebhooks */ public function __construct(TransactionGroup $transactionGroup, bool $applyRules, bool $fireWebhooks) { $this->transactionGroup = $transactionGroup; $this->fireWebhooks = $fireWebhooks; $this->applyRules = $applyRules; } }