Showing 10 of 2,133 results.

Licensing

Meerkat is not free software, and is licensed on a per-site basis. Each site must also have an appropriate Statamic License .

resolveFragments | HTML Fragments

Resolves the Document's HTML fragments. 1 <?php 2 3 use Stillat \ BladeParser \ Document \ Document ; 4 5 public function resolveFragments ( ) : Document ;

Sorting Comment Threads

Meerkat 2 has tossed away the sorting system from previous versions of Meerkat and replaced it with a new, more powerful system. The syntax for sorting comments is different from previous versions, but the capabilities it unlocks are worth it. By...

compile | Compiling Workspaces

Compiles all discovered Blade templates within the workspace. Argument Description $outputDirectory Where to store compiled files. 1 <?php 2 3 public function compile ( 4 string $ outputDirectory 5 ) : void ;

getSourceLine | Compiling Workspaces

Retrieves the original Blade template line number for the given compiled PHP line. Argument Description $docPath The compiled path. $phpLine The target PHP line. 1 <?php 2 3 public function getSourceLine ( string $ docPath , 4 int $ phpLine ) : int ;

Laravel 5: Retrieving Elements from an Array With get

The get helper method will retrieve an item from the given $array using dot notation. This allows developers to retrieve items from the array at arbitrary depths quickly, without having to use PHP's array syntax.

hasAnyDirectives | Workspaces

Tests if the workspace contains any Blade directives. 1 <?php 2 3 public function hasAnyDirectives ( ) : bool ;