Oihana PHP System

LockableTrait

Provides functionality for managing a lockable state within a class.

This trait defines a constant and uses a flag to determine whether an instance can be locked.

Table of Contents

Properties

$lockable  : bool
The lockable flag to indicates if the instance is lockable or not.

Methods

initLockable()  : bool
Initialize the lockable flag.

Properties

$lockable

The lockable flag to indicates if the instance is lockable or not.

public bool $lockable = false

Methods

initLockable()

Initialize the lockable flag.

protected initLockable([array<string|int, mixed> $init = [] ]) : bool
Parameters
$init : array<string|int, mixed> = []
Return values
bool

        
On this page

Search results