Showing 10 of 1,322 results.

Laravel Miscellaneous Helper Function: tap

…/ 44 public function talk ( ) 45 { 46 return ucfirst ( implode ( ' ' , $ this -> messageParts ) ) ; 47 } 48 49 } The Talker class is also very simple. It maintains an array of Message instances and allows you to add them to either the beginning...

Preventing Duplicate Jobs | Using a Job Queue

When alerts are enabled it is possible for many jobs to be created if content editors save their changes frequently while editing. To help reduce the total number of image generation jobs created, Social Media Image Kit provides a feature to...

An Introduction to Laravel View Error Bags

…iew\Middleware\ShareErrorsFromSession middleware. The ViewErrorBag instance that is shared with views is given the name errors . Interacting with the ViewErrorBag instance should look familiar to most developers: 1 @ if ( $ errors -> count ( ) )...

Query and Search Transformers | Index Configuration

⚠️ Read first before continuing : The documentation search provider provides additional query and search transformer concepts. While these features have a similar name to Statamic's search transformers , they behave slightly differently. The...

Directive Argument Spacing | The Validate Command

Class : DirectiveArgumentSpacingValidator The directive argument spacing validator will check that all directives containing arguments contain a certain amount of spaces between the directive name and its arguments. The following template: 1 @if (...