CompilesConditionals
Properties
$firstCaseInSwitch bool
Identifier for the first case in the switch statement.
Methods
compileAuth ( $guard ) : string
Compile the if-auth statements into valid PHP.
Parameters
- $guard string|null
compileElseAuth ( $guard ) : string
Compile the else-auth statements into valid PHP.
Parameters
- $guard string|null
compileEndAuth ( ) : string
Compile the end-auth statements into valid PHP.
compileEnv ( $environments ) : string
Compile the env statements into valid PHP.
Parameters
- $environments string
compileEndEnv ( ) : string
Compile the end-env statements into valid PHP.
compileProduction ( ) : string
Compile the production statements into valid PHP.
compileEndProduction ( ) : string
Compile the end-production statements into valid PHP.
compileGuest ( $guard ) : string
Compile the if-guest statements into valid PHP.
Parameters
- $guard string|null
compileElseGuest ( $guard ) : string
Compile the else-guest statements into valid PHP.
Parameters
- $guard string|null
compileEndGuest ( ) : string
Compile the end-guest statements into valid PHP.
compileHasSection ( $expression ) : string
Compile the has-section statements into valid PHP.
Parameters
- $expression string
compileSectionMissing ( $expression ) : string
Compile the section-missing statements into valid PHP.
Parameters
- $expression string
compileIf ( $expression ) : string
Compile the if statements into valid PHP.
Parameters
- $expression string
compileUnless ( $expression ) : string
Compile the unless statements into valid PHP.
Parameters
- $expression string
compileElseif ( $expression ) : string
Compile the else-if statements into valid PHP.
Parameters
- $expression string
compileElse ( ) : string
Compile the else statements into valid PHP.
compileEndif ( ) : string
Compile the end-if statements into valid PHP.
compileEndunless ( ) : string
Compile the end-unless statements into valid PHP.
compileIsset ( $expression ) : string
Compile the if-isset statements into valid PHP.
Parameters
- $expression string
compileEndIsset ( ) : string
Compile the end-isset statements into valid PHP.
compileSwitch ( $expression ) : string
Compile the switch statements into valid PHP.
Parameters
- $expression string
compileCase ( $expression ) : string
Compile the case statements into valid PHP.
Parameters
- $expression string
compileDefault ( ) : string
Compile the default statements in switch case into valid PHP.
compileEndSwitch ( ) : string
Compile the end switch statements into valid PHP.
compileOnce ( $id ) : string
Compile a once block into valid PHP.
Parameters
- $id string|null
compileEndOnce ( ) : string
Compile an end-once block into valid PHP.
compileSelected ( $condition ) : string
Compile a selected block into valid PHP.
Parameters
- $condition string
compileChecked ( $condition ) : string
Compile a checked block into valid PHP.
Parameters
- $condition string
compileDisabled ( $condition ) : string
Compile a disabled block into valid PHP.
Parameters
- $condition string
compileRequired ( $condition ) : string
Compile a required block into valid PHP.
Parameters
- $condition string
compileReadonly ( $condition ) : string
Compile a readonly block into valid PHP.
Parameters
- $condition string
compilePushIf ( $expression ) : string
Compile the push statements into valid PHP.
Parameters
- $expression string
compileEndPushIf ( ) : string
Compile the end-push statements into valid PHP.