FollowerDto   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
4
namespace App\Src\UseCases\Domain\Context\Dto;
5
6
7
use App\Src\UseCases\Domain\Shared\Model\Dto;
8
9
class FollowerDto extends Dto
10
{
11
    public $user;
12
    public $context;
13
    public $interaction;
14
15
    public function __construct(
16
        UserDto $userDto,
17
        ContextDto $contextDto,
18
        InteractionDto $interactionDto
19
    )
20
    {
21
        $this->user = $userDto;
22
        $this->context = $contextDto;
23
        $this->interaction = $interactionDto;
24
    }
25
}
26