Showing 10 of 1,214 results.

isFatal | Parser Errors

Tests if the current error is considered a "fatal" error. Fatal errors are those that are likely to cause issues when compiling the final PHP for a given template. Some parser generated errors are "warnings", and will not be reported as fatal...

Literal Nodes | Parser Nodes Overview

Instances of Stillat\BladeParser\Nodes\LiteralNode are created to represent the non-Blade content contained within an input document. Literal nodes maintain helpful information, such as the original trailing and leading whitespace discovered while...

setFailOnParserErrors | Blade Compiler

Sets whether the compiler should fail on parser errors. When set to true, the compiler will throw an instance of Stillat\BladeParser\Errors\Exceptions\CompilationException whenever it encounters a parser error. Argument Description...

Directive Parsing and Whitespace Constraints | Core Concepts

Another significant difference in the parser implementations is that directives do not require a leading space with the library (but require a trailing space if the next character is not a left parenthesis, line break or null ). 1...

Example Use | Laravel 5: Generating URLs With url

…Url ; 2 3 // Using the URL facade. 4 Url :: to ( ' arbitraryUrl ' ) ; 5 6 // Using the url helper function. 7 url ( ' arbitraryUrl ' ) ; both calls would result in the following URL: 1 http://laravel.artisan/arbitraryUrl You can also include...

Filter Search