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