1 | <?php |
||
10 | abstract class AbstractImportLabels extends AbstractCommand implements LabelSecurityInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var Labels |
||
14 | */ |
||
15 | private $labels; |
||
16 | |||
17 | /** |
||
18 | * @var Labels |
||
19 | */ |
||
20 | private $labelsToKeepIfAlreadyOnOffer; |
||
21 | |||
22 | /** |
||
23 | * @param string $itemId |
||
24 | * @param Labels $labels |
||
25 | */ |
||
26 | public function __construct($itemId, Labels $labels) |
||
32 | |||
33 | public function withLabelsToKeepIfAlreadyOnOffer(Labels $labels): self |
||
39 | |||
40 | public function getLabelsToKeepIfAlreadyOnOffer(): Labels |
||
44 | |||
45 | /** |
||
46 | * @return Labels |
||
47 | */ |
||
48 | public function getLabels() |
||
52 | |||
53 | /** |
||
54 | * @inheritdoc |
||
55 | */ |
||
56 | public function getNames() |
||
65 | } |
||
66 |