Showing 10 of 1,204 results.

setClassComponentNamespaces | Blade Compiler

…class component namespaces. In default setups, this is set to the return value of Illuminate\View\Compilers\BladeCompiler::getClassComponentNamespaces() Argument Description $namespaces The class component namespaces. 1 <?php 2 3 use Stillat \...

setAnonymousComponentPaths | Blade Compiler

…ides all anonymous component paths. In default setups, this is set to the return value of Illuminate\View\Compilers\BladeCompiler::getAnonymousComponentPaths() Argument Description $paths The anonymous component paths. 1 <?php 2 3 use Stillat \...

setCompilesComponentTags | Blade Compiler

Sets whether to compile class component tags. Argument Description $compilesComponentTags Whether to compile component tags. 1 <?php 2 3 use Stillat \ BladeParser \ Compiler \ Compiler ; 4 5 public function setCompilesComponentTags ( 6 bool $...

setConditions | Blade Compiler

…des all custom condition handlers. In default setups, this is set to the return value of Illuminate\View\Compilers\BladeCompiler::$conditions protected property. Argument Description $conditions The condition handlers. 1 <?php 2 3 use Stillat \...

hasErrorOnLine | Blade Compiler

Tests if an error matching the provided properties exists on a specific line. Argument Description $line The line to check. $type The error type to check for. $context The error context. 1 <?php 2 3 use Stillat \ BladeParser \ Errors \ ErrorType ;...

Compiling Documents

…y, the document will create a compiler instance by invoking the CompilerFactory::makeCompiler() factory method for us. By default, the compiler will use all the default configuration values when compiling our document: 1 <?php 2 3 use Stillat \...

compile | Compiling Documents

Compiles the current document. Compiles the current document to PHP. The compiler instance used internally is constructed by calling the CompilerFactory::makeCompiler() static method. 1 <?php 2 3 use ? Stillat \ BladeParser \ Document \...

hasDirective | Querying Document Nodes

Tests if the document contains a directive with the provided name. Argument Description $name The directive name. 1 <?php 2 3 public function hasDirective ( 4 string $ name 5 ) : bool ; Example Use 1 <?php 2 3 use Stillat \ BladeParser \ Document...

findAllNodesStartingOnLine | Querying Document Nodes

Retrieves all nodes starting on the target line. Only the node's starting position is considered. Argument Description $line The target line. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function...

Filter Search