PType
extends Enum
in package
This is the PType enumerate.
Tags
Table of Contents
| ADDON | = 'ADDON' | |
|---|---|---|
| LC | = 'LC' | |
| PLUGIN | = 'PLUGIN' | |
| SUPPORT | = 'SUPPORT' | |
| getValues() | : array<string|int, mixed> | |
| isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
ADDON
public
mixed
ADDON
= 'ADDON'
LC
public
mixed
LC
= 'LC'
PLUGIN
public
mixed
PLUGIN
= 'PLUGIN'
SUPPORT
public
mixed
SUPPORT
= 'SUPPORT'
Methods
getValues()
public
static getValues() : array<string|int, mixed>
Return values
array<string|int, mixed> —isValid()
Check if the given value is inside the called enumerate.
public
static isValid(string $value) : bool
Parameters
- $value : string
-
value to check