PHP Класс Scalr\Exception\LockedException

Автор: N.V.
Наследование: extends ScalrException
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( integer $lockedBy, mixed $object = null, string $comment = '', integer $code, Exception $previous = null ) LockedException
getLockedBy ( ) : integer Gets the identifier of the User who locked the object
getLockedObject ( ) : mixed Gets the object that is locked by the User

Описание методов

__construct() публичный Метод

LockedException
public __construct ( integer $lockedBy, mixed $object = null, string $comment = '', integer $code, Exception $previous = null )
$lockedBy integer Id of User that add a lock to the object
$object mixed optional Locked object
$comment string optional Lock comment
$code integer optional The Exception code
$previous Exception optional The previous exception used for the exception chaining

getLockedBy() публичный Метод

Gets the identifier of the User who locked the object
public getLockedBy ( ) : integer
Результат integer Returns the identifier of the User who locked the object

getLockedObject() публичный Метод

Gets the object that is locked by the User
public getLockedObject ( ) : mixed
Результат mixed Returns the object that is locked