1 | <?php |
||
7 | class UnauthorizableCommandException extends \Exception |
||
8 | { |
||
9 | /** |
||
10 | * @var StringLiteral |
||
11 | */ |
||
12 | private $userId; |
||
13 | |||
14 | /** |
||
15 | * @var mixed |
||
16 | */ |
||
17 | private $command; |
||
18 | |||
19 | /** |
||
20 | * @param StringLiteral $userId |
||
21 | * @param mixed $command |
||
22 | */ |
||
23 | public function __construct(StringLiteral $userId, $command) |
||
32 | |||
33 | /** |
||
34 | * @return StringLiteral |
||
35 | */ |
||
36 | public function getUserId() |
||
40 | |||
41 | /** |
||
42 | * @return mixed |
||
43 | */ |
||
44 | public function getCommand() |
||
48 | } |
||
49 |