GetTimetable   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
declare(strict_types=1);
3
4
namespace TK\API\Endpoint;
5
6
use TK\API\ValueObject\GetTimetableParameters;
7
8
final class GetTimetable extends EndpointAbstract implements EndpointInterface
9
{
10
11
    public function __construct(GetTimetableParameters $queryParameters)
12
    {
13
        $this->endpoint = '/getTimeTable';
14
        $this->responseRoot = 'timeTableOTAResponse';
15
        $this->queryParameters = $queryParameters->getValue();
16
    }
17
}
18