CompilesConditionals
Table of Contents
- $firstCaseInSwitch : bool
- Identifier for the first case in switch statement.
- compileAuth() : mixed
- compileCase() : string
- Compile the case statements into valid PHP.
- compileDefault() : string
- Compile the default statements in switch case into valid PHP.
- compileElse() : string
- Compile the else statements into valid PHP.
- compileElseif() : string
- Compile the else-if statements into valid PHP.
- compileEndAuth() : string
- Compile the end-auth statements into valid PHP.
- compileEndGuest() : string
- Compile the end-guest statements into valid PHP.
- compileEndif() : string
- Compile the end-if statements into valid PHP.
- compileEndIsset() : string
- Compile the end-isset statements into valid PHP.
- compileEndSwitch() : string
- Compile the end switch statements into valid PHP.
- compileEndunless() : string
- Compile the end-unless statements into valid PHP.
- compileGuest() : string
- Compile the if-guest statements into valid PHP.
- compileHasSection() : string
- Compile the has-section statements into valid PHP.
- compileIf() : string
- Compile the if statements into valid PHP.
- compileIsset() : string
- Compile the if-isset statements into valid PHP.
- compileSwitch() : string
- Compile the switch statements into valid PHP.
- compileUnless() : string
- Compile the unless statements into valid PHP.
Properties
$firstCaseInSwitch
Identifier for the first case in switch statement.
protected
bool
$firstCaseInSwitch
= true
Methods
compileAuth()
protected
compileAuth([mixed $guard = null ]) : mixed
Parameters
- $guard : mixed = null
Return values
mixed —compileCase()
Compile the case statements into valid PHP.
protected
compileCase(string $expression) : string
Parameters
- $expression : string
Return values
string —compileDefault()
Compile the default statements in switch case into valid PHP.
protected
compileDefault() : string
Return values
string —compileElse()
Compile the else statements into valid PHP.
protected
compileElse() : string
Return values
string —compileElseif()
Compile the else-if statements into valid PHP.
protected
compileElseif(string $expression) : string
Parameters
- $expression : string
Return values
string —compileEndAuth()
Compile the end-auth statements into valid PHP.
protected
compileEndAuth() : string
Return values
string —compileEndGuest()
Compile the end-guest statements into valid PHP.
protected
compileEndGuest() : string
Return values
string —compileEndif()
Compile the end-if statements into valid PHP.
protected
compileEndif() : string
Return values
string —compileEndIsset()
Compile the end-isset statements into valid PHP.
protected
compileEndIsset() : string
Return values
string —compileEndSwitch()
Compile the end switch statements into valid PHP.
protected
compileEndSwitch() : string
Return values
string —compileEndunless()
Compile the end-unless statements into valid PHP.
protected
compileEndunless() : string
Return values
string —compileGuest()
Compile the if-guest statements into valid PHP.
protected
compileGuest([string|null $guard = null ]) : string
Parameters
- $guard : string|null = null
Return values
string —compileHasSection()
Compile the has-section statements into valid PHP.
protected
compileHasSection(string $expression) : string
Parameters
- $expression : string
Return values
string —compileIf()
Compile the if statements into valid PHP.
protected
compileIf(string $expression) : string
Parameters
- $expression : string
Return values
string —compileIsset()
Compile the if-isset statements into valid PHP.
protected
compileIsset(string $expression) : string
Parameters
- $expression : string
Return values
string —compileSwitch()
Compile the switch statements into valid PHP.
protected
compileSwitch(string $expression) : string
Parameters
- $expression : string
Return values
string —compileUnless()
Compile the unless statements into valid PHP.
protected
compileUnless(string $expression) : string
Parameters
- $expression : string