BladeCompiler
class BladeCompiler extends Compiler implements CompilerInterface (View source)
Methods
Compile the view at the given path.
Get the path currently being compiled.
Set the path currently being compiled.
Compile the given Blade template contents.
Compile the default values for the echo statement.
Get the extensions used by the compiler.
Register a custom Blade compiler.
Register a handler for custom directives.
Get the list of custom directives.
Gets the raw tags used by the compiler.
Sets the raw tags used for the compiler.
Sets the content tags used for the compiler.
Sets the escaped content tags used for the compiler.
Gets the content tags used for the compiler.
Gets the escaped content tags used for the compiler.
Set the echo format to be used by the compiler.
Details
at line line 402
string
compileEchoDefaults(
string $value)
Compile the default values for the echo statement.
at line line 950
void
directive(
string $name,
callable $handler)
Register a handler for custom directives.
at line line 982
void
setRawTags(
string $openTag,
string $closeTag)
Sets the raw tags used for the compiler.
at line line 995
void
setContentTags(
string $openTag,
string $closeTag,
bool $escaped = false)
Sets the content tags used for the compiler.
at line line 1009
void
setEscapedContentTags(
string $openTag,
string $closeTag)
Sets the escaped content tags used for the compiler.
at line line 1029
string
getEscapedContentTags()
Gets the escaped content tags used for the compiler.
at line line 1053
void
setEchoFormat(
string $format)
Set the echo format to be used by the compiler.