Showing 10 of 1,214 results.

registerCustomComponentTag | The Document Parser

Registers a single custom component tag name. Argument Description $tagName The component tag name. 1 <?php 2 3 use Stillat \ BladeParser \ Parser \ DocumentParser ; 4 5 public function registerCustomComponentTag ( 6 string $ tagName 7 ) :...

registerCustomComponentTags | The Document Parser

Registers multiple custom component tag names. Argument Description $tagNames The tag names. 1 <?php 2 3 use Stillat \ BladeParser \ Parser \ DocumentParser ; 4 5 public function registerCustomComponentTags ( 6 array $ tagNames 7 ) : DocumentParser ;

withoutCoreDirectives | The Document Parser

Removes support for all core Blade directives. 1 <?php 2 3 use Stillat \ BladeParser \ Parser \ DocumentParser ; 4 5 public function withoutCoreDirectives ( ) : DocumentParser ;

Component Parameter Parsing | Core Concepts

The component tag parser provided by the library accepts arbitrary whitespace between parameter names and their value, provided the value is enclosed within quotes: 1 < x-alert 2 message 3 = " The message contents " /> While the parser supports...

Compiling Workspaces

…directory should already exist, and the PHP process compiling the workspace should have read, write, modify, and delete privileges to the directory. The following example demonstrates how we might compile a workspace: 1 <?php 2 3 use Stillat \...

setParserErrorsIsStrict | Blade Compiler

Sets whether the compiler will fail on any parser error. When set to true, the compiler will fail on any error type. When set to false, it will only fail on fatal errors. Argument Description $isParserErrorsStrict Whether to fail on any parser...

Error Contexts | Parser Errors

The following error contexts are available: Error Context Code Echo 001 Comment 002 Verbatim 003 Directive Arguments 004 Blade PHP Block 005 Component Tag 006 Raw Echo 007 Triple Echo 008 PHP Short Open Tag ( <?= ) 009 PHP Open Tag ( <?php ) 010...

Filter Search