2018-06-25 16:01:45 +02:00
|
|
|
<?php
|
2026-01-24 13:57:28 +01:00
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2026-01-24 13:33:40 +01:00
|
|
|
/*
|
|
|
|
|
* TransactionGroupsRequestedReporting.php
|
|
|
|
|
* Copyright (c) 2026 james@firefly-iii.org
|
2018-12-31 07:48:23 +01:00
|
|
|
*
|
2019-10-02 06:37:26 +02:00
|
|
|
* This file is part of Firefly III (https://github.com/firefly-iii).
|
2018-12-31 07:48:23 +01:00
|
|
|
*
|
2019-10-02 06:37:26 +02:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU Affero General Public License as
|
|
|
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
|
|
|
* License, or (at your option) any later version.
|
2018-12-31 07:48:23 +01:00
|
|
|
*
|
2019-10-02 06:37:26 +02:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
2018-12-31 07:48:23 +01:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2019-10-02 06:37:26 +02:00
|
|
|
* GNU Affero General Public License for more details.
|
2018-12-31 07:48:23 +01:00
|
|
|
*
|
2019-10-02 06:37:26 +02:00
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2018-12-31 07:48:23 +01:00
|
|
|
*/
|
|
|
|
|
|
2026-01-24 13:33:40 +01:00
|
|
|
namespace FireflyIII\Events\Model\TransactionGroup;
|
2018-06-25 16:01:45 +02:00
|
|
|
|
2026-01-24 13:33:40 +01:00
|
|
|
use FireflyIII\Events\Event;
|
2018-06-25 16:01:45 +02:00
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
|
|
2026-01-24 13:33:40 +01:00
|
|
|
class TransactionGroupsRequestedReporting extends Event
|
2018-06-25 16:01:45 +02:00
|
|
|
{
|
2022-10-30 14:24:10 +01:00
|
|
|
use SerializesModels;
|
2018-06-25 16:01:45 +02:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create a new event instance.
|
|
|
|
|
*/
|
2026-01-24 13:57:28 +01:00
|
|
|
public function __construct(
|
|
|
|
|
public int $userId,
|
|
|
|
|
public Collection $groups
|
|
|
|
|
) {}
|
2018-06-25 16:01:45 +02:00
|
|
|
}
|