Showing 10 of 1,204 results.

The Document Parser

The Document Parser is responsible for parsing Blade templates. By default, it supports all directives supported by the library's compiler. Any custom directive names need to be registered with the parser instance. It is also possible to disable...

Defining Partial Parameters | Template IDE Hints

We can use the @param directive to define which additional parameters our partial accepts. When we do this, Antlers Toolbox will add these extra parameters to the auto-complete suggestions list. The format for adding parameter names is: 1 @param...

Laravel String Helper Function: parse_callback

The parseCallback helper method is a fairly simple method, even though it serves a somewhat specialized purpose. The following syntax for class names and method names can be found utilized throughout the Laravel framework: 1 ClassName @...

Laravel Facades Part One: An Introduction to Facades

This article is part of a four part series all about Laravel facades. Each of the parts are listed below: Laravel Facades Part One: An Introduction to Facades, Laravel Facades Part Two: Using Facades, ., Laravel Facades Part Three: Creating Custom...

Laravel Miscellaneous Helper Function: tap

tap($value, $callback) The tap helper function is used to call a given Closure (provided as an argument to the $callback parameter) with the given $value . The tap helper function will return the reference to the original $value as its return...

Laravel URL Helper Function: url

url($path = null, $parameters = [], $secure = null) The url helper function is a versatile function that can be used to generate a URL to a given path or return an instance of the configured Illuminate\Contracts\Routing\UrlGenerator implementation...

Filter Search