Property | Type | Description | |
---|---|---|---|
$_directives | array | This was implemented as a more usable "extend" in 5.1. | |
$_escapedTags | array | Array of opening and closing tags for escaped echos. | |
$_forElseCounter | integer | Counter to keep track of nested forElse statements. | |
$_rawTags | array | Array of opening and closing tags for raw echos. |
Method | Description | |
---|---|---|
compileString ( string $value ) : string | Compile the given Blade template contents. | |
directive ( string $name, callable $handler ) : static | Register a handler for custom directives. |
Method | Description | |
---|---|---|
_compileAllow ( string $expression ) : string | Compile the allow statements into valid PHP. | |
_compileAppend ( string $expression ) : string | Compile the append statements into valid PHP. | |
_compileAsset ( string $expression ) : string | Compile the Asset statements into valid PHP. | |
_compileBreak ( string $expression ) : string | Compile the break statements into valid PHP. | |
_compileCan ( string $expression ) : string | Compile the can statements into valid PHP. | |
_compileCannot ( string $expression ) : string | Compile the cannot statements into valid PHP. | |
_compileComments ( string $value ) : string | Compile Blade comments into valid PHP. | |
_compileContent ( string $expression ) : string | Compile the break statements into valid PHP. | |
_compileContinue ( string $expression ) : string | Compile the break statements into valid PHP. | |
_compileCsrfToken ( string $expression ) : string | Compile the json statements into valid PHP. | |
_compileDebugger ( string $expression ) : string | Compile the json statements into valid PHP. | |
_compileEchos ( string $value ) : string | Compile Blade echos into valid PHP. | |
_compileElse ( string $expression ) : string | Compile the else statements into valid PHP. | |
_compileElseIf ( string $expression ) : string | Compile the else-if statements into valid PHP. | |
_compileEmpty ( string $expression ) : string | Compile the empty statements into valid PHP. | |
_compileEndCan ( string $expression ) : string | Compile the end-can statements into valid PHP. | |
_compileEndCannot ( string $expression ) : string | Compile the end-cannot statements into valid PHP. | |
_compileEndFor ( string $expression ) : string | Compile the end-for statements into valid PHP. | |
_compileEndForElse ( string $expression ) : string | Compile the end-for-else statements into valid PHP. | |
_compileEndForeach ( string $expression ) : string | Compile the end-for-each statements into valid PHP. | |
_compileEndIf ( string $expression ) : string | Compile the end-if statements into valid PHP. | |
_compileEndPhp ( string $expression ) : string | Compile the break statements into valid PHP. | |
_compileEndPush ( string $expression ) : string | Compile the end push statements into valid PHP. | |
_compileEndSection ( string $expression ) : string | Compile the end-section statements into valid PHP. | |
_compileEndWhile ( string $expression ) : string | Compile the end-while statements into valid PHP. | |
_compileEol ( string $expression ) : string | Compile the eol statements into valid PHP. | |
_compileEscapedEchos ( string $value ) : string | Compile the escaped echo statements. | |
_compileFlash ( string $expression ) : string | Compile the Asset statements into valid PHP. | |
_compileFor ( string $expression ) : string | Compile the for statements into valid PHP. | |
_compileForElse ( string $expression ) : string | Compile the for else statements into valid PHP. | |
_compileForeach ( string $expression ) : string | Compile the foreach statements into valid PHP. | |
_compileIf ( string $expression ) : string | Compile the if statements into valid PHP. | |
_compileInclude ( string $expression ) : string | Compile the include statements into valid PHP. | |
_compileJson ( string $expression ) : string | Compile the json statements into valid PHP. | |
_compileLayout ( string $expression ) : string | Compile the break statements into valid PHP. | |
_compileOverwrite ( string $expression ) : string | Compile the overwrite statements into valid PHP. | |
_compilePagination ( string $expression ) : string | Compile the json statements into valid PHP. | |
_compilePartial ( string $expression ) : string | Compile the partial statements into valid PHP. | |
_compilePhp ( string $expression ) : string | Compile the break statements into valid PHP. | |
_compilePush ( string $expression ) : string | Compile the push statements into valid PHP. | |
_compileRawEchos ( string $value ) : string | Compile the "raw" echo statements. | |
_compileSection ( string $expression ) : string | Compile the section statements into valid PHP. | |
_compileStack ( string $expression ) : string | Compile the stack statements into the content. | |
_compileStatements ( string $value ) : mixed | Compile Blade statements that start with "@". | |
_compileStop ( string $expression ) : string | Compile the stop statements into valid PHP. | |
_compileTranslate ( string $expression ) : string | Compile the json statements into valid PHP. | |
_compileUrl ( string $expression ) : string | Compile the Url statements into valid PHP. | |
_compileWhile ( string $expression ) : string | Compile the while statements into valid PHP. | |
_compileWidget ( string $expression ) : string | Compile the widget statements into valid PHP. | |
_compileYield ( string $expression ) : string | Compile the yield statements into valid PHP. | |
_getEchoMethods ( ) : array | Get the echo methods in the proper order for compilation. |
Method | Description | |
---|---|---|
_compileEchoDefaults ( string $value ) : string | Compile the default values for the echo statement. |
protected _compileAllow ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileAppend ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileAsset ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileBreak ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileCan ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileCannot ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileComments ( string $value ) : string | ||
$value | string | |
return | string |
protected _compileContent ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileContinue ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileCsrfToken ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileDebugger ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEchos ( string $value ) : string | ||
$value | string | |
return | string |
protected _compileElse ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileElseIf ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEmpty ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEndCan ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEndCannot ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEndFor ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEndForElse ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEndForeach ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEndIf ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEndPhp ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEndPush ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEndSection ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEndWhile ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEol ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileEscapedEchos ( string $value ) : string | ||
$value | string | |
return | string |
protected _compileFlash ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileFor ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileForElse ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileForeach ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileIf ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileInclude ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileJson ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileLayout ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileOverwrite ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compilePagination ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compilePartial ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compilePhp ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compilePush ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileRawEchos ( string $value ) : string | ||
$value | string | |
return | string |
protected _compileSection ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileStack ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileStatements ( string $value ) : mixed | ||
$value | string | |
return | mixed |
protected _compileStop ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileTranslate ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileUrl ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileWhile ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileWidget ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _compileYield ( string $expression ) : string | ||
$expression | string | |
return | string |
protected _getEchoMethods ( ) : array | ||
return | array |
public compileString ( string $value ) : string | ||
$value | string | |
return | string |
protected array $_directives | ||
return | array |
protected array $_escapedTags | ||
return | array |
protected int $_forElseCounter | ||
return | integer |
protected array $_rawTags | ||
return | array |