RelatedType
extends Enum
in package
This is the related type enumerate.
Tags
Table of Contents
EXTERNAL | = 'EXTERNAL' | |
---|---|---|
LINKED | = 'LINKED' | |
RELATED | = 'RELATED' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
EXTERNAL
public
mixed
EXTERNAL
= 'EXTERNAL'
LINKED
public
mixed
LINKED
= 'LINKED'
RELATED
public
mixed
RELATED
= 'RELATED'
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