UserType
extends Enum
in package
This is the user type enumerate.
Tags
Table of Contents
BUSINESS | = 'BUSINESS' | |
---|---|---|
EMPTY | = 'EMPTY' | |
FREELANCE | = 'FREELANCE' | |
PARTICULAR | = 'PARTICULAR' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
BUSINESS
public
mixed
BUSINESS
= 'BUSINESS'
EMPTY
public
mixed
EMPTY
= 'EMPTY'
FREELANCE
public
mixed
FREELANCE
= 'FREELANCE'
PARTICULAR
public
mixed
PARTICULAR
= 'PARTICULAR'
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