Showing 10 of 2,133 results.

Author | General Metadata

The author method queues a <meta name="author" content="..."> tag. By default it binds to the $meta_author variable. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 // Adjusting the returned variable. 6...

PHPStan/Larastan Integration | The Validate Command

If you'd like to automatically run Larastan results on the compiled output of Blade templates when running the blade:validate command, you simply need to install it via Composer and ensure the blade.validation.phpstan configuration option is set...

Component Parameter Spacing | The Validate Command

Class : ComponentParameterNameSpacingValidator The component parameter spacing validator may be used to detect extraneous whitespace between a parameter's name and its value. The following template: 1 < x-alert message = " The message " />...

getAllForElse | Document Structures

Returns all the document's for-else blocks. This method automatically performs structural analysis. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllForElse ( ) : Collection ; Example Use 1 <?php 2 3 use Stillat \...

Rendering Grouped Search Results | Search Results Tag

For example, we could implement a simple Antlers template to show the primary search result as well as a "Other results from this page" list below each search result: 1 {{ documentation : results index = " docs " paginate = " 5 " as = " results "...

setFallback($fallback) | The Laravel Translator

The setFallback method is used to set the fallback locale that the translator should use. It accepts only one parameter $fallback , which is the fallback locale that should be set. By default, it is set to the value defined for fallback_locale in...

Filter Search