UserLockedException

Type
Class
Namespace
craft\errors
Inherits
craft\errors\UserLockedException » yii\base\Exception » Exception
Since
3.1.7

Class UserLockedException

View source

Public Properties

PropertyDescription
$usercraft\elements\User – The user that's locked.

$user

Type
craft\elements\User

The user that's locked.

View source

Signature

public craft\elements\User $user = null

Public Methods

MethodDescription
__construct()Constructor
getName()

__construct()

Constructor

View source

Arguments

Signature

public void __construct ( craft\elements\User $user, \craft\errors\string $message = '', \craft\errors\int $code = 0, Throwable $previous = null )

getName()

View source

Returns

string – The user-friendly name of this exception

Signature

public string getName ( )