Showing 10 of 2,055 results.

Custom Document and Query Transformers

…ormers. Document transformers are applied during the indexing process, and query transformers are applied to user search queries at search time.Document transformers are applied to each index entry during the indexing process. Document...

Laravel MessageBag Public API: isEmpty

The isEmpty can be used to determine if the collection has items or not. If the collection has no items, true will be returned, otherwise false will be returned. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 // Create a new collection...

compileString | Blade Compiler

Compile the given Blade template contents. Argument Description $template The template. 1 <?php 2 3 public function compileString ( 4 string $ template 5 ) : string ;

Laravel URL Helper Function: url

…return an instance of the configured Illuminate\Contracts\Routing\UrlGenerator implementation (by default this is an instance of Illuminate\Routing\UrlGenerator ). The url function can be used to generate arbitrary URLs. Calling the url function...

Procedures | Procedure vs. Function vs. Method vs. ?

Procedures are sort of like functions, in the fact that they are sort of a language copy and paste feature. The defining difference is that a procedure does not return a value. You can thing of it kind of like this: a function determines how...

Supplying Multiple Parameters | Basic Filtering

By taking a quick scan of that table, you may notice that some filters accept multiple parameters. Parameters are separated by a comma ( , ). For example, if we wanted to filter our comments to only those left by an authenticated user in a known...

Laravel 4: Default Events

Laravel 4 provides a few events that are fired throughout your applications life cycle. This should just serve as a quick reference if you need to find where an event is called or what events are available. Event File auth.attempt...