Showing 10 of 2,055 results.

What Comes Next | Laracon, Blade and What's Next

…y current goal posts. The first goal is to be able to refactor Blaze, an incredible code-folding engine by Caleb Porzio, to use Forte's lexer, parser and AST. The second immediate goal is to make it possible to bring incredible Blade formatting...

onAppend | Blade Compiler

Adds a callback that will be invoked after the compiler finishes compiling a node. The provided callback will be invoked each time the compiler has finished compiling a node, and it has been appended to the internal output buffer. The callback...

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...

Handling Specific Numbers | Laravel String Pluralization

…ctly one number. All of the previous examples have not dealt with the pluralization case when there is no items (when the $number is exactly 0 ). Passing 0 to the previous translation messages would produce the following result: 1 There are 0...

Laravel String Helper Function: limit

The limit method will make sure that the $value is never longer than the given limit. If it is, the length is reduced and the specified end is added as a suffix. This method is useful when displaying output from a user that could be very long and...

Example Use | Laravel 5: Generating URLs With url

All of the method/function calls in the following example are equivalent: 1 use Illuminate \ Support \ Facades \ Url ; 2 3 // Using the URL facade. 4 Url :: action ( ' SomeController@someAction ' ) ; 5 6 // Calling the action method on the URL...