WebDevEtc /
BlogEtc
| 1 | <?php |
||
| 2 | |||
| 3 | namespace WebDevEtc\BlogEtc\Events; |
||
| 4 | |||
| 5 | use Illuminate\Broadcasting\InteractsWithSockets; |
||
| 6 | use Illuminate\Foundation\Events\Dispatchable; |
||
| 7 | use Illuminate\Queue\SerializesModels; |
||
| 8 | use WebDevEtc\BlogEtc\Models\Comment; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Class CommentWillBeDeleted. |
||
| 12 | */ |
||
| 13 | class CommentWillBeDeleted |
||
| 14 | { |
||
| 15 | use Dispatchable; |
||
| 16 | use InteractsWithSockets; |
||
| 17 | use SerializesModels; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 18 | |||
| 19 | /** @var Comment */ |
||
| 20 | public $comment; |
||
| 21 | |||
| 22 | public function __construct(Comment $comment) |
||
| 23 | { |
||
| 24 | $this->comment = $comment; |
||
| 25 | } |
||
| 26 | } |
||
| 27 |