ShiftRegistry
uses
Singleton
Table of Contents
Constants
-
DEFAULT_SELECT
= ['*', 'GEO.*', 'CANCELLATION.*']
Methods
-
__wakeup()
: mixed
-
get()
: Shift|null
-
getInstance()
: static
-
invalidate()
: static
-
invalidateAll()
: static
-
load()
: $this
DEFAULT_SELECT
public
mixed
DEFAULT_SELECT
= ['*', 'GEO.*', 'CANCELLATION.*']
__wakeup()
public
__wakeup() : mixed
get()
public
final get(int $id[, array<string|int, mixed> $select = self::DEFAULT_SELECT ]) : Shift|null
Parameters
-
$id
: int
-
-
$select
: array<string|int, mixed>
= self::DEFAULT_SELECT
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
getInstance()
public
static getInstance() : static
invalidate()
public
invalidate(int ...$ids) : static
Parameters
-
$ids
: int
-
invalidateAll()
public
invalidateAll() : static
load()
public
final load(array<string|int, mixed> $ids, array<string|int, mixed> $select) : $this
Parameters
-
$ids
: array<string|int, mixed>
-
-
$select
: array<string|int, mixed>
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException