uccellolabs /
uccello
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Uccello\Core\Events; |
||
| 4 | |||
| 5 | use Illuminate\Queue\SerializesModels; |
||
| 6 | use Illuminate\Foundation\Events\Dispatchable; |
||
| 7 | use Illuminate\Broadcasting\InteractsWithSockets; |
||
| 8 | use Illuminate\Http\Request; |
||
| 9 | use Uccello\Core\Models\Domain; |
||
| 10 | use Uccello\Core\Models\Module; |
||
| 11 | |||
| 12 | class BeforeDeleteEvent |
||
| 13 | { |
||
| 14 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 15 | |||
| 16 | public $domain; |
||
| 17 | public $module; |
||
| 18 | public $request; |
||
| 19 | public $record; |
||
| 20 | public $isFromApi; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Create a new event instance. |
||
| 24 | * |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | public function __construct(Domain $domain, Module $module, Request $request, $record, $isFromApi = false) |
||
| 28 | { |
||
| 29 | $this->domain = $domain; |
||
| 30 | $this->module = $module; |
||
| 31 | $this->request = $request; |
||
| 32 | $this->record = $record; |
||
| 33 | $this->isFromApi = $isFromApi; |
||
| 34 | } |
||
| 35 | } |
||
| 36 |