Showing 10 of 2,055 results.

Laravel Collection Public API: has

has($key) The has method is used to determine if a item exists in the collection based on a given $key . The has method returns true if the item exists and false if it does not. The following example demonstrates the usage of the has method: 1...

Laravel Collection Public API: __toString

…n a Collection instance is cast into a string, its JSON representation is returned as the result. Internally this is accomplished by returning the results of the collection's toJson (discussed in the Laravel Collection Public API: toJson article)...

1. Source Code. | License

…tandards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The “System Libraries” of an executable work include anything, other than the work as...

Laravel Application Helper Function: request

…, $default = null) The request helper function is a useful helper function that can be used to either retrieve an instance of Illuminate\Http\Request or retrieve an item from the user's input. To retrieve an instance of Request , call the request...

Laravel Facades Part Two: Using Facades

…acades Part Two: Using Facades, ., Laravel Facades Part Three: Creating Custom Facades, Laravel Facades Part Four: Facade Class Reference Laravel's facades are used just like any other static class, with the exception that facades are redirecting...

Parsing Blade Comments in Forte

…d to be the foundation for a suite of tools to create the best Laravel Blade extensibility framework ever, I am tackling smaller projects and working through them so that I do not lose my mind with the sheer scope of this endeavor. And today I...

1. Source Code. | License

…tandards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The “System Libraries” of an executable work include anything, other than the work as...

Laravel 5 Collections: The Static API

…h wrap, Laravel 5 Collections Static API: Returning the Items of a Collection With unwrap, Laravel 5 Collections Static API: Creating a Collection By Invoking a Callback a Given Number of Times With times, Laravel 5 Collections Static API: Adding...

directive | Blade Compiler

Registers a handler for custom directives. This method has the same behavior as the Illuminate\View\Compilers\BladeCompiler::directive method. You do not need to manually call this method to sync compiler information if you use the default...

Laravel Companion: A Guide to Helpers, Collections And More

…e most useful tools right at your fingertips—so you can spend less time searching and more time building. Each section is organized for quick reference, making this book an ideal desk-side resource for daily Laravel development. Inside, you'll...