OptionTypology
extends Enum
in package
This is the option typology enumerate.
Tags
Table of Contents
COLOR | = 'COLOR' | |
---|---|---|
MATERIAL | = 'MATERIAL' | |
OTHER | = 'OTHER' | |
SIZE | = 'SIZE' | |
WITHOUT_TYPOLOGY | = 'WITHOUT_TYPOLOGY' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
COLOR
public
mixed
COLOR
= 'COLOR'
MATERIAL
public
mixed
MATERIAL
= 'MATERIAL'
OTHER
public
mixed
OTHER
= 'OTHER'
SIZE
public
mixed
SIZE
= 'SIZE'
WITHOUT_TYPOLOGY
public
mixed
WITHOUT_TYPOLOGY
= 'WITHOUT_TYPOLOGY'
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