Showing 7 of 1,697 result(s)
…s named $signature and the other is named $description ; for this section, the $description variable is irrelevant. When the $signature variable is present in the command class, Laravel will expect there to be a valid command signature. It will...
We can access array data directly by its index in many different ways. The first and most recognizable is by using the square bracket syntax. We will use the sample data in Example 1.20 for our discussions: Example 1.20 If we already know the...
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 Illuminate\Support\Fluent class is a useful data type....
At the moment we've constructed a simple parser for our filter input language, and works relatively well. However, there are a few improvements we need to make regarding the string implementation. To get started, let's update the value of our...
The se_capture tag can be used to store the results of a template section, and output it later as a string. This is particularly helpful if you want to reuse the results of a partial, or navigation menu in multiple places without having to render...
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...
…of the variables we've declared outside of the anonymous function. To resolve this, we must use the use keyword. That looks like this: That's all we have to do to make a variable available to our anonymous function when we cannot alter the number...