invoiceninja/app/Events/InvoiceWasCreated.php

23 lines
338 B
PHP
Raw Normal View History

2015-03-31 20:42:37 +03:00
<?php namespace App\Events;
use App\Events\Event;
use Illuminate\Queue\SerializesModels;
2015-10-28 21:22:07 +02:00
class InvoiceWasCreated extends Event {
2015-03-31 20:42:37 +03:00
use SerializesModels;
2015-03-31 21:50:58 +03:00
public $invoice;
2015-03-31 20:42:37 +03:00
/**
* Create a new event instance.
*
* @return void
*/
2015-03-31 21:50:58 +03:00
public function __construct($invoice)
{
$this->invoice = $invoice;
}
2015-03-31 20:42:37 +03:00
}