Showing 10 of 2,044 results.

getRootStructures | Document Structures

Returns the direct document structures. This method automatically performs structural analysis. Only structures that are at the root of the document, without any parent node, will be returned. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4...

getAllSwitchStatements | Document Structures

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

getRootSwitchStatements | Document Structures

Returns all the direct switch statements. This method automatically performs structural analysis. Only @switch statements that appear at the root of the document, without any parent nodes, will be returned. 1 <?php 2 3 use Illuminate \ Support \...

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

getRootConditions | Document Structures

Returns all the document's root conditions. This method automatically performs structural analysis. Only structures that appear at the root of the document, without any parent node, will be returned. 1 <?php 2 3 use Illuminate \ Support \...

getAllForElse | Document Structures

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

getRootForElse | Document Structures

Returns the direct for-else blocks. This method automatically performs structural analysis. Only nodes that appear at the root of the document, without any parent nodes, will be returned. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5...

Laravel 5: Conditionally Retrieving Array Values With where

The where helper method is functionally similar to the pluck method, in that both take a source $array and filter it to produce a smaller array. It works by iterating over each element in the $array and executing the $callback on each key value...

Introduction & Installation

…roken up into four different phases: Installation, : Installing the required composer packages, and ensuring the configuration and assets have been published to the local project., HTML Rendering Setup, : Configuring the local environment for...