PrevisionType
extends Enum
in package
This is the prevision types enumerate.
Tags
Table of Contents
| AVAILABLE | = 'AVAILABLE' | |
|---|---|---|
| PREVISION | = 'PREVISION' | |
| RESERVE | = 'RESERVE' | |
| getValues() | : array<string|int, mixed> | |
| isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
AVAILABLE
public
mixed
AVAILABLE
= 'AVAILABLE'
PREVISION
public
mixed
PREVISION
= 'PREVISION'
RESERVE
public
mixed
RESERVE
= 'RESERVE'
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