Protocol
extends Enum
in package
Contains enumerable Protocol values
Table of Contents
Constants
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
HTTP
public
mixed
HTTP
= 'http'
HTTPS
public
mixed
HTTPS
= 'https'
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>