ProductType
in package
This class centralizes all types of products.
Tags
Table of Contents
- NORMAL = 'Normal'
- SECOND_HAND = 'Segunda mano'
- SERVICE = 'Servicio'
- TRAVEL = 'Viaje'
- $all : array<string|int, mixed>
- add() : void
- all() : array<string|int, mixed>
Constants
NORMAL
public
mixed
NORMAL
= 'Normal'
SECOND_HAND
public
mixed
SECOND_HAND
= 'Segunda mano'
SERVICE
public
mixed
SERVICE
= 'Servicio'
TRAVEL
public
mixed
TRAVEL
= 'Viaje'
Properties
$all
private
static array<string|int, mixed>
$all
= []
Methods
add()
public
static add(string $key, string $value) : void
Parameters
- $key : string
- $value : string
Return values
void —all()
public
static all() : array<string|int, mixed>