UserLockedException
- Type
- Class
- Namespace
- craft\errors
- Inherits
- craft\errors\UserLockedException » yii\base\Exception » Exception
- Since
- 3.1.7
Class UserLockedException
# Public Properties
Property | Description |
---|---|
user | craft\elements\User – The user that's locked. |
# user
- Type
- craft\elements\User
- Default value
null
The user that's locked.
# Public Methods
Method | Description |
---|---|
__construct() | Constructor |
getName() |
# __construct()
Constructor
Arguments
$user
(craft\elements\User)$message
(string)$code
(integer)$previous
(Throwable, null)
# getName()
Returns
string – The user-friendly name of this exception