BasketWarningSeverity
extends Enum
in package
This is the basket warning code severities enumerate.
Tags
Table of Contents
ERROR | = 'ERROR' | |
---|---|---|
INFO | = 'INFO' | |
WARNING | = 'WARNING' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
ERROR
public
mixed
ERROR
= 'ERROR'
INFO
public
mixed
INFO
= 'INFO'
WARNING
public
mixed
WARNING
= 'WARNING'
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