Search

Showing 7 of 587 result(s)

/blade-parser/v1/querying-document-nodes#content-lastoftype

Locates the last instance of the provided node type in the document. Argument Description $type The node type. 1 <?php 2   3 use Stillat\BladeParser\Nodes\AbstractNode ; 4   5 public function lastOfType ( 6 string $type 7 ) : AbstractNode ;...

/blade-parser/v1/workspaces#content-alloftype

Finds all nodes of the provided type. Argument Description $type The type to search. 1 <?php 2   3 use Stillat\BladeParser\Nodes\NodeCollection ; 4   5 public function allOfType ( 6 string $type 7 ) : NodeCollection ;

/blade-parser/v1/workspaces#content-allnotoftype

Finds all nodes that are not of the provided type. Argument Description $type The type to search. 1 <?php 2   3 use Stillat\BladeParser\Nodes\NodeCollection ; 4   5 public function allNotOfType ( 6 string $type 7 ) : NodeCollection ;

/blade-parser/v1/workspaces#content-hasanyoftype

Tests if the workspace contains any node of the provided type. Argument Description $type The desired type. 1 <?php 2   3 public function hasAnyOfType ( 4 string $type 5 ) : bool ;

/blog/2013/10/29/passing-data-to-php-anonymous-functions

PHP version 5.3 introduced a new feature called anonymous functions, or lambda functions. You may have come across them in other languages such as C# or Ruby. They allow for greater flexibility and offer a clean, expressive syntax. Anonymous...

/blog/2016/11/21/laravel-fluent-part-one-introduction

This article is part of a two part series covering the Laravel Fluent API. The articles in this series are: Laravel Fluent Part One: Introduction, Laravel Fluent Part Two: The Public API The Illuminate\Support\Fluent class is a useful data type....

/blog/2016/11/29/laravel-collection-public-api-implode

implode($value, $glue = null) The implode method will combine the items of the collection together. The Collection 's implode method behaves differently than PHP's implode function in that it can operate on arrays of primitive data types as well...