Showing 10 of 2,138 results.

getAllConditions | Document Structures

Returns all the document's conditions. This method automatically performs structural analysis. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllConditions ( ) : Collection ; Example Use 1 <?php 2 3 use Stillat \...

Laravel 4: Rendering a View to a String

Laravel 4 offers Views, a way to separate your applications controllers and business logic from your presentation layer. Sometimes, it can be useful to render the view into a local variable instead of outputting it to the client. You are probably...

Laravel Collection Public API: flatten

flatten The flatten method will return a new Collection instance representing a flattened version of the original collection's items. The flatten method internally makes use of the Illuminate\Support\Arr::flatten($array) helper method. The flatten...

registerCustomComponentTagCompiler | Blade Compiler

Register a custom component tag compiler. This method will automatically register the provided tag name with the component tag compiler. Argument Description $tagName The custom component tag prefix. $compiler The compiler instance. 1 <?php 2 3...

Implementing a Customer Domain Specific Language Parser in PHP

In this article we are going to take a look at implementing a custom language parser in PHP. The language this parser will analyze will be fairly small, and serve a very specific purpose: to parse custom filter expressions from a string input....

Filter Search