Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class CreateCommandScheduleRequest |
||
6 | { |
||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | private $commandName; |
||
11 | |||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | private $commandParams; |
||
16 | |||
17 | /** |
||
18 | * @param string $commandName |
||
19 | * @param array $commandParams |
||
20 | */ |
||
21 | public function __construct(string $commandName, array $commandParams = []) |
||
22 | { |
||
23 | $this->commandName = $commandName; |
||
24 | $this->commandParams = $commandParams; |
||
25 | } |
||
26 | |||
27 | public function getCommandName(): string |
||
28 | { |
||
29 | return $this->commandName; |
||
30 | } |
||
31 | |||
32 | public function getCommandParams(): array |
||
35 | } |
||
36 | } |
||
37 |