| 1 | <?php |
||
| 9 | abstract class AbstractCommand implements AuthorizableCommandInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var UUID |
||
| 13 | */ |
||
| 14 | private $uuid; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * AbstractCommand constructor. |
||
| 18 | * @param UUID $uuid |
||
| 19 | */ |
||
| 20 | public function __construct(UUID $uuid) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return UUID |
||
| 27 | */ |
||
| 28 | public function getUuid() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @inheritdoc |
||
| 35 | */ |
||
| 36 | public function getItemId() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @inheritdoc |
||
| 43 | */ |
||
| 44 | public function getPermission() |
||
| 48 | } |
||
| 49 |