Showing 10 of 1,322 results.

Laravel Collection Public API: put

put($key, $value) The put method is used to add a new item to the collection with a given $key and $value . The put method modifies the original Collection instance and returns a reference to it. The following code example will highlight the usage...

Laravel Collection Public API: take

…it is negative, it will return a number of items (up to the provided $limit ) from the end of the collection, otherwise the items will be returned from the beginning of the collection. The take method returns a new Collection instance and does...

Laravel Artisan Queue Command: The queue:failed Command

…ailed jobs. 2 php artisan queue:failed If there are no failed jobs, the command would output something similar to the following: 1 No failed jobs! If there are failed jobs, the command would generate a table that lists each failed job's ID...

Laravel Application Helper Function: view

…ernal call to Factory::make will take place and the created View instance will be returned as the result. The $view parameter is the name of the view file, $data is the initial data that will be passed along to the view and $mergeData is simply...

Laravel 4: Default Events

…nate/Foundation/Application.php In the above table, {view name} will become the name of the view you are looking for. For example, if you had a view named hello , you would use listed for the event composing: hello . This page will be updated...

rounds | Laravel 5: Hashing Strings With bcrypt

The rounds option is used to control how many iterations the underlying Blowfish implementation will use when generating the final hash. The rounds value can be any positive integer between 4 and 31 (including both 4 and 31 ). If an integer...

Filter Search