meemalabs /
laravel-media-recognition
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Meema\MediaRecognition\Events; |
||
| 4 | |||
| 5 | use Illuminate\Broadcasting\InteractsWithSockets; |
||
| 6 | use Illuminate\Foundation\Events\Dispatchable; |
||
| 7 | use Illuminate\Queue\SerializesModels; |
||
| 8 | |||
| 9 | class FacialAnalysisCompleted |
||
| 10 | { |
||
| 11 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 12 | |||
| 13 | public $message; |
||
| 14 | |||
| 15 | public ?int $mediaId; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Create a new event instance. |
||
| 19 | * |
||
| 20 | * @param $message |
||
| 21 | * @param int|null $mediaId |
||
| 22 | */ |
||
| 23 | public function __construct($message, int $mediaId = null) |
||
| 24 | { |
||
| 25 | $this->message = $message; |
||
| 26 | $this->mediaId = $mediaId; |
||
| 27 | } |
||
| 28 | } |
||
| 29 |