Showing 10 of 2,044 results.

Blade Documents

…ides a cohesive API that combines many of the library's unique features. Documents are constructed from the nodes created by the document parser and a few other details. The best way to create a new document instance is to use the fromText static...

Document Static API | Blade Documents

…or more details, see the implementation at Stillat\BladeParser\Document\DocumentFactory . Once we have a document instance, we can begin working with it. For instance, if we wanted to retrieve the underlying parser nodes, we can call the getNodes...

getNodeArray | Blade Documents

Gets the document nodes as a normal array. Returns a PHP array containing the nodes that represent the parsed template. The nodes returned by this call are the same as those from the getNodes method call. 1 <?php 2 3 public function getNodeArray (...

No Directive Arguments | The Validate Command

Class : NoArgumentsValidator The no directive arguments validator emits a validation error when directive's that should not contain arguments have arguments in the template. The following template: 1 @ endphp ( $ args ) will emit the following...

Node Compilation | The Validate Command

Class : NodeCompilationValidator The node compilation validator checks the compiled output of echo statements and PHP blocks for any PHP syntax errors. The following template: 1 {{ $ hello ++++ }} 2 3 4 {{ $ world ++ + }} produces these validation...

Specifying Feed Images | RSS and Atom Feeds

…adding an asset image to the generated RSS/Atom feeds. Instead of adding a new field to manage this, Tidal can use one of the social media images it generated. You may specify which social media image you'd like to utilize by changing the...

Front-end Templates

There are two ways to add favicon metadata/link tags to your site's front-end templates: the dedicated Antlers tag and the metadata provider.The se_get_favicons Antlers tag returns information about the generated favicons to help construct the...