Showing 10 of 2,133 results.

getFirstFatalError | Blade Compiler

Retrieves the first fatal error. If the error source contains multiple types of errors, such as parser errors and validation errors, all errors will be considered. Fatal errors are considered those that would produce invalid compiled PHP code,...

Meerkat | The Statamic Add-on Roundup

Meerkat is an add-on that provides a flat-file comment system for Statamic sites; it was designed to be as familiar to users coming from WordPress as possible while also taking advantage of Statamic features. It is a commercial add-on; this is...

The Document Parser

The Document Parser is responsible for parsing Blade templates. By default, it supports all directives supported by the library's compiler. Any custom directive names need to be registered with the parser instance. It is also possible to disable...

getFirstFatalError | The Document Parser

Retrieves the first fatal error. If the error source contains multiple types of errors, such as parser errors and validation errors, all errors will be considered. Fatal errors are considered those that would produce invalid compiled PHP code,...

Pagination Links | Overview

If you are rendering a paginated list and would like to easily add pagination link tags, you can use the se_meta:paginate tag: 1 {{ collection : blog paginate = " 5 " as = " items " }} 2 3 {{# Add the current pagination links to metadata manager....

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...

Filter Search