Total Complexity | 6 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class GlobalContext |
||
10 | { |
||
11 | 84 | public function __construct( |
|
12 | private ReadableDataInterface $dataReader, |
||
13 | private array $sortLinkAttributes, |
||
14 | private array $urlArguments = [], |
||
15 | private array $urlQueryParameters = [], |
||
16 | private ?string $filterModelName = null, |
||
17 | ) { |
||
18 | 84 | } |
|
19 | |||
20 | 67 | public function getDataReader(): ReadableDataInterface |
|
23 | } |
||
24 | |||
25 | 3 | public function getSortLinkAttributes(): array |
|
28 | } |
||
29 | |||
30 | 3 | public function getUrlArguments(): array |
|
33 | } |
||
34 | |||
35 | 3 | public function getUrlQueryParameters(): array |
|
36 | { |
||
37 | 3 | return $this->urlQueryParameters; |
|
38 | } |
||
39 | |||
40 | 17 | public function getFilterModelName(): ?string |
|
43 | } |
||
44 | } |
||
45 |