BoothItemType
in package
FinalYes
Value object representing the type/category of a booth item.
Table of Contents
Constants
Properties
- $value : string
Methods
- challenge() : self
- Challenge.
- fromString() : self
- generic() : self
- Generic.
- isChallenge() : bool
- Is Challenge.
- isRicd() : bool
- Is Ricd.
- isStartup() : bool
- Is Startup.
- isValid() : bool
- ricd() : self
- Ricd.
- startup() : self
- Startup.
- value() : string
- __construct() : mixed
Constants
CHALLENGE
public
mixed
CHALLENGE
= 'challenge'
GENERIC
public
mixed
GENERIC
= 'generic'
RICD
public
mixed
RICD
= 'ricd'
STARTUP
public
mixed
STARTUP
= 'startup'
Properties
$value
private
string
$value
Methods
challenge()
Challenge.
public
static challenge() : self
Return values
selffromString()
public
static fromString(string $value) : self
Parameters
- $value : string
Return values
selfgeneric()
Generic.
public
static generic() : self
Return values
selfisChallenge()
Is Challenge.
public
isChallenge() : bool
Return values
boolisRicd()
Is Ricd.
public
isRicd() : bool
Return values
boolisStartup()
Is Startup.
public
isStartup() : bool
Return values
boolisValid()
public
static isValid(string $value) : bool
Parameters
- $value : string
Return values
boolricd()
Ricd.
public
static ricd() : self
Return values
selfstartup()
Startup.
public
static startup() : self
Return values
selfvalue()
public
value() : string
Return values
string__construct()
private
__construct(string $value) : mixed
Parameters
- $value : string
-
BoothItemType::* constant