Showing 10 of 2,044 results.

addFile | Workspaces

Adds a single Blade template to the workspace. If the provided path does not end with a configured Blade extension, the file will not be added to the workspace. Argument Description $path The file path. 1 <?php 2 3 use Stillat \ BladeParser \...

Example Use | Laravel 5 Fluent API: The Public API

The following code: 1 $ testObject = new stdClass ; 2 $ testObject -> method = function ( ) { 3 return ' Hello, world! ' ; 4 } ; 5 6 $ fluent = new Fluent ( $ testObject ) ; 7 8 $ jsonValue = $ fluent -> toJson ( ) ; would be converted into the...

Installation | Getting Started

To install the extension on your local machine, simply open Visual Studio Code and search for "Antlers Toolbox" in the Extensions panel. Once you find it, click "Install". The extension will automatically activate the next time you open an Antlers...

Syntax Highlighting | Contributing

There are two ways syntax highlighting is provided by the Antlers Language for Statamic extension: grammar files and semantic highlighting. If you are used to TextMate grammars, or regular expression based grammar files, contributing to the...