. */ declare(strict_types=1); namespace FireflyIII\Events; use Illuminate\Database\Eloquent\Model; use Illuminate\Queue\SerializesModels; /** * Class TriggeredAuditLog */ class TriggeredAuditLog extends Event { use SerializesModels; public mixed $after; public Model $auditable; public mixed $before; public Model $changer; public string $field; /** * Create a new event instance. */ public function __construct(Model $changer, Model $auditable, string $field, mixed $before, mixed $after) { $this->changer = $changer; $this->auditable = $auditable; $this->field = $field; $this->before = $before; $this->after = $after; } }