Showing 10 of 1,089 results.

Laravel Artisan Queue Command: The queue:failed-table Command

…table. This table is in order to keep track of any queue jobs that have failed. This command defines no parameters and can be used like so: 1 php artisan queue:failed-table The migration will create a failed_jobs database table with the following...

setConditions | Blade Compiler

Sets and overrides all custom condition handlers. In default setups, this is set to the return value of Illuminate\View\Compilers\BladeCompiler::$conditions protected property. Argument Description $conditions The condition handlers. 1 <?php 2 3...

setPrecompilers | Blade Compiler

Sets the internal precompilers. In default setups, this is set to the value of the Illuminate\View\Compilers\BladeCompiler::$precompilers protected property. Argument Description $precompilers The precompilers. 1 <?php 2 3 public function...

setEchoHandlers | Blade Compiler

Sets and overrides all existing echo handlers. In default setups, this is set to the value of the Illuminate\View\Compilers\BladeCompiler::$echoHandlers protected property. Argument Description $handlers The echo handlers. 1 <?php 2 3 public...

hasErrorOnLine | Blade Compiler

Tests if an error matching the provided properties exists on a specific line. Argument Description $line The line to check. $type The error type to check for. $context The error context. 1 <?php 2 3 use Stillat \ BladeParser \ Errors \ ErrorType ;...

Laravel MessageBag Public API: get

…messages for a given $key with the specified $format . The $format is null by default, which will cause the get method to use the format stored within the MessageBag instance (which can be retrieved using the getFormat method). Alternatively,...

Laravel 5: The Translator's File Loader

…_NAME>.json . If we wanted to create a JSON based locale file for Spanish, we could create a es.json language file within the root language file directory ( /resources/lang ). When creating these JSON files, each language key/value is stored as a...

Laravel Collection Public API: jsonSerialize

jsonSerialize The jsonSeralize method internally returns the value of the toArray method. This method exists to implement PHP's JsonSerializable interface, which allows developers to customize how a class is represented when using the json_encode...

Filter Search