Showing 10 of 2,133 results.

setCompilationTarget | Blade Compiler

Sets the internal compilation target. Argument Description $compilationTarget The compilation target. 1 <?php 2 3 use Stillat \ BladeParser \ Compiler \ CompilationTarget ; 4 use Stillat \ BladeParser \ Compiler \ Compiler ; 5 6 public function...

Laravel String Helper Function: limit

The limit method will make sure that the $value is never longer than the given limit. If it is, the length is reduced and the specified end is added as a suffix. This method is useful when displaying output from a user that could be very long and...

Laravel 5: Accessing the Cache System With cache

The cache helper function can be used as a convenient way to access the Laravel cache store, retrieve existing items from the cache, and to place new items in the cache. The behavior of the cache helper function is determined by the number and...

Laravel Array Helper Function: array_pull

pull(&$array, $key, $default = null) The pull helper method is similar to the get (covered in the Laravel Array Helper Function: array_get article) method in that it will return a value for the given $key in the $array (or the $default , if it is...

registerCustomComponentTag | The Document Parser

Registers a single custom component tag name. Argument Description $tagName The component tag name. 1 <?php 2 3 use Stillat \ BladeParser \ Parser \ DocumentParser ; 4 5 public function registerCustomComponentTag ( 6 string $ tagName 7 ) :...

Building the Front-end

Tidal utilizes Vite to build the front-end assets, both for development and production use-cases. If you haven't already, you will need to install Tidal's front-end dependencies by running the following command from the root of your project: 1 npm...

Canonical Link | General Metadata

The canonical method queues a <link rel="canonical" href="..."> meta tag. By default it binds to the $meta_canonical variable. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 // Adjusting the returned...

Filter Search