Showing 10 of 2,133 results.

Laravel Classes That Support Macros

…pports macros even though it implements __call . Please note that the following table does not take into account classes that implement the __callSatic method (such as the Illuminate\Support\Facades\Facade class). Class Macroable?...

Laravel String Helper Function: camel

…such that each word starts with a capitalized letter, with the difference being the first character is lower cased. Like the studly method, the camel method will not affect the casing of the rest of the word. The signature of the camel helper...

Excluding File Extensions | Formatting

You may disable the Antlers formatter for specific file extensions by providing a list of file extensions in your workspace's settings file. The configuration key to update is antlersLanguageServer.formatterIgnoreExtensions . By default Antlers...

Example Use | Laravel 5.5 String Helper Method: contains

1 use Illuminate \ Support \ Str ; 2 3 // These are our $needles we want to check for. 4 $ needles = [ ' a ' , ' p ' , ' l ' , ' e ' , ' s ' ] ; 5 6 // true 7 Str :: contains ( ' apples ' , $ needles ) ; 8 9 // false 10 Str :: contains ( ' APPLES...

Front-end: Cannot Convert String to Array | Troubleshooting

If you are receiving an error stating something similar to "Cannot convert string to array" when rendering your front-end pages after generating images, the most common cause is forgetting to add the required fieldset to your blueprints. If the...

Laravel Fluent Part Two: The Public API

This article is part of a two part series covering the Laravel Fluent API. The articles in this series are: Laravel Fluent Part One: Introduction, Laravel Fluent Part Two: The Public API The following sections will highlight the usage of the...