mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-08-26 13:17:30 -05:00
27 lines
494 B
PHP
27 lines
494 B
PHP
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace FireflyIII\Events\Model\CurrencyExchangeRate;
|
|
|
|
use FireflyIII\Events\Event;
|
|
use FireflyIII\Models\CurrencyExchangeRate;
|
|
use Illuminate\Queue\SerializesModels;
|
|
use Illuminate\Support\Facades\Log;
|
|
|
|
class CreatedCurrencyExchangeRate extends Event
|
|
{
|
|
use SerializesModels;
|
|
|
|
public function __construct(
|
|
public CurrencyExchangeRate $rate
|
|
) {
|
|
Log::debug(sprintf('CreatedCurrencyExchangeRate(#%d) Event', $rate->id));
|
|
}
|
|
}
|