array_set(&$array, $key, $value) | Laravel Array Helper Function: array_set
The array_set function is a shortcut to calling Arr::set . This function is declared in the global namespace.
Showing 10 of 2,055 results.
The array_set function is a shortcut to calling Arr::set . This function is declared in the global namespace.
Since Laravel's translator is build on top of Symfony's translator component, the syntax rules used by Symfony's pluralization system will work with Laravel. Pluralization translation lines follow the ISO 31-11 standard for numeric intervals, such...
The queue:restart command can be used to indicate to all daemon queue workers that they should restart. This command simply instructs the queue works to restart after they are done working on their current job. This command defines no options or...
The signature of the sort method is: 1 public static function sort ( 2 $ array , 3 $ callback = null 4 ) ;
The array_sort function is a shortcut to calling Arr::sort . This function is declared in the global namespace.
The Redirect facade resolves to an instance of Illuminate\Routing\Redirector , which is where the back method is defined: 1 <?php 2 3 use Illuminate \ Support \ Facades \ Redirect ; 4 5 function postCreateSomeValue ( ) { 6 // ... code here ... 7...
Like the Redirect facade, the redirect helper function will resolve an instance of Illuminate\Routing\Redirector from the service container and then all the back method that is defined there: 1 <?php 2 3 function postCreateSomeValue ( ) { 4...
…s we must also provide an argument for $status and then supply an argument for $headers : 1 <?php 2 3 // Redirect back with a "302: Found" status code and extra headers: 4 5 return back ( 302 , [ ' Laravel ' => ' Artisan ' ] ) ; The following...
The Meerkat blueprint is created automatically for you when Meerkat is installed, and the site reloaded or accessed for the first time. This blueprint can be found in the following directory (from the root of your Statamic site): 1 resources/ 2...
Tests if the current error is considered a "fatal" error. Fatal errors are those that are likely to cause issues when compiling the final PHP for a given template. Some parser generated errors are "warnings", and will not be reported as fatal...