mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
32 lines
624 B
PHP
32 lines
624 B
PHP
<?php
|
|
|
|
namespace Crater\Events;
|
|
|
|
use Illuminate\Broadcasting\Channel;
|
|
use Illuminate\Broadcasting\InteractsWithSockets;
|
|
use Illuminate\Broadcasting\PresenceChannel;
|
|
use Illuminate\Broadcasting\PrivateChannel;
|
|
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class UpdateFinished
|
|
{
|
|
use Dispatchable;
|
|
|
|
public $new;
|
|
|
|
public $old;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct($old, $new)
|
|
{
|
|
$this->old = $old;
|
|
$this->new = $new;
|
|
}
|
|
}
|