1 | <?php |
||
11 | abstract class AbstractLabelCommand extends AbstractOrganizerCommand implements AuthorizableCommandInterface, LabelSecurityInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var Label |
||
15 | */ |
||
16 | private $label; |
||
17 | |||
18 | /** |
||
19 | * @param string $organizerId |
||
20 | * @param Label $label |
||
21 | */ |
||
22 | public function __construct( |
||
23 | $organizerId, |
||
24 | Label $label |
||
25 | ) { |
||
26 | parent::__construct($organizerId); |
||
27 | $this->label = $label; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return Label |
||
32 | */ |
||
33 | public function getLabel() |
||
37 | |||
38 | /** |
||
39 | * @inheritdoc |
||
40 | */ |
||
41 | public function getItemId() |
||
45 | |||
46 | /** |
||
47 | * @inheritdoc |
||
48 | */ |
||
49 | public function getNames() |
||
55 | |||
56 | public function getPermission() |
||
60 | } |
||
61 |