Hackathonners /
swap
| 1 | <?php |
||
| 2 | |||
| 3 | namespace App\Events; |
||
| 4 | |||
| 5 | use App\Judite\Models\Exchange; |
||
| 6 | use Illuminate\Queue\SerializesModels; |
||
| 7 | use Illuminate\Foundation\Events\Dispatchable; |
||
| 8 | |||
| 9 | class ExchangeWasConfirmed |
||
| 10 | { |
||
| 11 | use Dispatchable, SerializesModels; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 12 | |||
| 13 | /** |
||
| 14 | * The confirmed exchange. |
||
| 15 | * |
||
| 16 | * @var \App\Judite\Models\Exchange |
||
| 17 | */ |
||
| 18 | public $exchange; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Create a new event instance. |
||
| 22 | */ |
||
| 23 | public function __construct(Exchange $exchange) |
||
| 24 | { |
||
| 25 | $this->exchange = $exchange; |
||
| 26 | } |
||
| 27 | } |
||
| 28 |