| 1 | <?php |
||
| 5 | class UserNotFoundException extends ApiException |
||
| 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) |
||
| 28 | |||
| 29 | public function getUserId(): int |
||
| 33 | |||
| 34 | public function getLogin(): string |
||
| 38 | } |