Documentation

Status extends Enum
in package

Contains enumerable Status values

Table of Contents

Constants

ENABLED  = 'Enabled'
SUSPENDED  = 'Suspended'

Properties

$cache  : array<string|int, mixed>

Methods

keys()  : array<string|int, mixed>
Returns the names (or keys) of all of constants in the enum
values()  : array<string|int, mixed>
Return the names and values of all the constants in the enum

Constants

ENABLED

public mixed ENABLED = 'Enabled'

SUSPENDED

public mixed SUSPENDED = 'Suspended'

Properties

$cache

protected static array<string|int, mixed> $cache = array()

A cache of all enum values to increase performance

Methods

keys()

Returns the names (or keys) of all of constants in the enum

public static keys() : array<string|int, mixed>
Return values
array<string|int, mixed>

values()

Return the names and values of all the constants in the enum

public static values() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results