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