diff --git a/app/Events/StoredAccount.php b/app/Events/StoredAccount.php new file mode 100644 index 0000000000..a5c948d5d3 --- /dev/null +++ b/app/Events/StoredAccount.php @@ -0,0 +1,46 @@ +. + */ + +namespace FireflyIII\Events; + +use FireflyIII\Models\Account; +use Illuminate\Queue\SerializesModels; + +/** + * Class StoredAccount + */ +class StoredAccount extends Event +{ + use SerializesModels; + + public Account $account; + + /** + * Create a new event instance. + * + * @param Account $account + */ + public function __construct(Account $account) + { + $this->account = $account; + } + +} \ No newline at end of file diff --git a/app/Events/UpdatedAccount.php b/app/Events/UpdatedAccount.php new file mode 100644 index 0000000000..1c01b8cf00 --- /dev/null +++ b/app/Events/UpdatedAccount.php @@ -0,0 +1,46 @@ +. + */ + +namespace FireflyIII\Events; + +use FireflyIII\Models\Account; +use Illuminate\Queue\SerializesModels; + +/** + * Class UpdatedAccount + */ +class UpdatedAccount extends Event +{ + use SerializesModels; + + public Account $account; + + /** + * Create a new event instance. + * + * @param Account $account + */ + public function __construct(Account $account) + { + $this->account = $account; + } + +} \ No newline at end of file