1 | <?php |
||
9 | class Cluster implements GetParameterInterface |
||
10 | { |
||
11 | public const YES = 'yes'; |
||
12 | |||
13 | public const NO = 'no'; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $selection; |
||
19 | |||
20 | /** |
||
21 | * Cluster constructor. |
||
22 | * |
||
23 | * @param string $selection |
||
24 | */ |
||
25 | public function __construct(string $selection = self::YES) |
||
29 | |||
30 | /** |
||
31 | * @return string |
||
32 | */ |
||
33 | public function getSelection() |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function getGetParameterValue(): string |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function getGetParameterName(): string |
||
53 | } |
||
54 |