| 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) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public function getItemId() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return Label |
||
| 40 | */ |
||
| 41 | public function getLabel() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @inheritdoc |
||
| 48 | */ |
||
| 49 | public function getName() |
||
| 53 | } |
||
| 54 |