Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
21 | class Event |
||
22 | { |
||
23 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
|
|||
24 | |||
25 | public $causer; |
||
26 | public $relation; |
||
27 | public $targets; |
||
28 | public $class; |
||
29 | |||
30 | /** |
||
31 | * Event constructor. |
||
32 | * |
||
33 | * @param \Illuminate\Database\Eloquent\Model $causer |
||
34 | * @param \Overtrue\LaravelFollow\Events\string $relation |
||
35 | * @param int|array $targets |
||
36 | * @param \Overtrue\LaravelFollow\Events\string $class |
||
37 | */ |
||
38 | public function __construct(Model $causer, string $relation, $targets, string $class) |
||
44 | } |
||
45 | |||
46 | public function getRelationType() |
||
49 | } |
||
50 | |||
51 | public function getTargetsCollection() |
||
54 | } |
||
55 | } |