InteractionDto   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 11
dl 0
loc 15
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
4
namespace App\Src\UseCases\Domain\Context\Dto;
5
6
7
class InteractionDto
8
{
9
    public $pageId;
10
    public $follow;
11
    public $done;
12
    public $applause;
13
    public $doneAt;
14
15
    public function __construct(int $pageId, bool $follow, bool $done, bool $applause, string $doneAt = null)
16
    {
17
        $this->pageId = $pageId;
18
        $this->done = $done;
19
        $this->follow = $follow;
20
        $this->applause = $applause;
21
        $this->doneAt = $doneAt;
22
    }
23
}
24