UserLockedException
- Type
- Class
- Namespace
- craft\errors
- Inherits
- craft\errors\UserLockedException » yii\base\Exception (opens new window) » Exception (opens new window)
- Since
- 3.1.7
Class UserLockedException
View source (opens new window)
# 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.
View source (opens new window)
# Public Methods
Method | Description |
---|---|
__construct() | Constructor |
getName() |
# __construct()
Constructor
View source (opens new window)
Arguments
$user
(craft\elements\User)$message
(string (opens new window))$code
(integer (opens new window))$previous
(Throwable (opens new window), null (opens new window))
# getName()
View source (opens new window)
Returns
string (opens new window) – The user-friendly name of this exception