1 | <?php declare(strict_types=1); |
||
10 | final class AddLabelCommand |
||
11 | { |
||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | private $repository; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $name; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $colour; |
||
26 | |||
27 | /** |
||
28 | * @param string $repository |
||
29 | * @param string $name |
||
30 | * @param string $colour |
||
31 | */ |
||
32 | 1 | public function __construct(string $repository, string $name, string $colour) |
|
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | 1 | public function getRepository(): string |
|
46 | |||
47 | /** |
||
48 | * @return string |
||
49 | */ |
||
50 | 1 | public function getName(): string |
|
54 | |||
55 | /** |
||
56 | * @return string |
||
57 | */ |
||
58 | 1 | public function getColour(): string |
|
62 | } |
||
63 |