Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 45.45% |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
10 | class DataOrderEvent |
||
11 | { |
||
12 | private AdminInterface $admin; |
||
13 | private DataSourceInterface $dataSource; |
||
14 | private array $orderBy; |
||
15 | |||
16 | 1 | public function __construct(AdminInterface $admin, DataSourceInterface $dataSource, array $orderBy) |
|
17 | { |
||
18 | 1 | $this->admin = $admin; |
|
19 | 1 | $this->dataSource = $dataSource; |
|
20 | 1 | $this->orderBy = $orderBy; |
|
21 | 1 | } |
|
22 | |||
23 | public function getAdmin(): AdminInterface |
||
24 | { |
||
25 | return $this->admin; |
||
26 | } |
||
27 | |||
28 | public function getDataSource(): DataSourceInterface |
||
29 | { |
||
30 | return $this->dataSource; |
||
31 | } |
||
32 | |||
33 | public function getOrderBy(): array |
||
36 | } |
||
37 | } |
||
38 |