| 1 | <?php |
||
| 9 | abstract class AbstractLabelCommand extends AbstractCommand implements LabelSecurityInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var Label |
||
| 13 | */ |
||
| 14 | protected $label; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param $itemId |
||
| 18 | * The id of the item that is targeted by the command. |
||
| 19 | * |
||
| 20 | * @param Label $label |
||
| 21 | * The label that is used in the command. |
||
| 22 | */ |
||
| 23 | public function __construct($itemId, Label $label) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function getItemId() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return Label |
||
| 39 | */ |
||
| 40 | public function getLabel() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @inheritdoc |
||
| 47 | */ |
||
| 48 | public function getNames() |
||
| 54 | } |
||
| 55 |