Showing 10 of 2,145 results.

Tidal Starter Kits | That Escalated Quickly: All the New Things

The "example site" that started it all. Tidal is a starter kit for Statamic, with a focus on making it simpler to manage documentation-heavy websites. Tidal allows you to manage multiple projects, versions, as well as supports Statamic's...

Querying Document Nodes

Many methods are available to help quickly locate specific Blade constructs within a document. The following demonstrates how we can quickly retrieve the inner content of all echo statements within a document: 1 <?php 2 3 use Stillat \ BladeParser...

Available Methods | Querying Document Nodes

The following methods are also available on all NodeCollection instances, in addition to the following node types: Stillat\BladeParser\Nodes\Components\ComponentNode, Stillat\BladeParser\Nodes\DirectiveNode

getDirectives | Querying Document Nodes

…e document. Some directive pairs, such as the @php / @endphp and @verbatim / @endverbatim pairs will not result in an instance of DirectiveNode , as they are handled by the parser directly. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \...

Document Static API | Blade Documents

An important thing to note about the Document static API is that internally it will use the Laravel service container to resolve its dependencies. It does this through a DocumentFactory, the behavior of which can be changed by library users. For...

setFilePath | Blade Documents

Sets the document's file path. Document file paths are optional for most use cases, but can be used by other features such as Workspaces or some validators. Argument Description $path The file path. 1 <?php 2 3 use Stillat \ BladeParser \ Document...

getAllSwitchStatements | Document Structures

Returns all the document's switch statements. This method automatically performs structural analysis. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllSwitchStatements ( ) : Collection ; Example Use 1 <?php 2 3 use...

Filter Search