LaruploadFFMpegQueueFinished   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 8
c 1
b 0
f 0
dl 0
loc 13
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Mostafaznv\Larupload\Events;
4
5
use Illuminate\Queue\SerializesModels;
6
7
class LaruploadFFMpegQueueFinished
8
{
9
    use SerializesModels;
0 ignored issues
show
introduced by
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Mostafaznv\Larupload\Eve...loadFFMpegQueueFinished: $collectionClass, $relations, $class, $connection, $keyBy
Loading history...
10
11
    public int    $id;
12
    public string $model;
13
    public int    $statusId;
14
15
    public function __construct(int $id, string $model, int $statusId)
16
    {
17
        $this->id = $id;
18
        $this->model = $model;
19
        $this->statusId = $statusId;
20
    }
21
}
22