1 | <?php |
||
5 | class UserNotFoundException extends NotFoundException |
||
6 | { |
||
7 | /** |
||
8 | * @var int |
||
9 | */ |
||
10 | protected $userId; |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $login; |
||
16 | |||
17 | |||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | * @param int $userId |
||
21 | */ |
||
22 | public function __construct($message = 'User not found', $code = 0, \Exception $previous = null, $userId = null, $login = null) |
||
29 | |||
30 | public function getUserId(): int |
||
34 | |||
35 | public function getLogin(): string |
||
39 | } |