1 | <?php |
||
8 | class AddLabelToQuery |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | protected $query; |
||
14 | |||
15 | /** |
||
16 | * @var Label |
||
17 | */ |
||
18 | protected $label; |
||
19 | |||
20 | public function __construct($query, Label $label) |
||
25 | |||
26 | /** |
||
27 | * @return string |
||
28 | */ |
||
29 | public function getQuery() |
||
33 | |||
34 | /** |
||
35 | * @return Label |
||
36 | */ |
||
37 | public function getLabel() |
||
41 | } |
||
42 |