Completed
Push — master ( c5110b...a167e6 )
by Valentyn
13:46
created

ReleaseDateNotificationDTO   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 15
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace App\Movies\DTO;
6
7
class ReleaseDateNotificationDTO
8
{
9
    public $movieId;
10
    public $movieTitle;
11
    public $releaseDate;
12
    public $countryName;
13
14
    public function __construct(int $movieId, string $movieTitle, string $countryName)
15
    {
16
        $this->movieId = $movieId;
17
        $this->movieTitle = $movieTitle;
18
        $this->releaseDate = date('Y-m-d');
19
        $this->countryName = $countryName;
20
    }
21
}
22