Showing 10 of 2,133 results.

Example Use | Laravel 5 Fluent API: The Public API

…; 5 6 $ fluent = new Fluent ( $ testObject ) ; 7 8 // The first value 9 $ message = $ fluent -> get ( ' first ' ) ; 10 11 // null 12 $ willBeNull = $ fluent -> get ( ' does_not_exist ' ) ; The $default value is evaluated using the value helper...

getLines | Text Extraction

Retrieves a string array, containing the lines of the source document. 1 <?php 2 3 public function getLines ( ) : array ;

route($channel, $route) | Laravel 5 Facades

The route method allows for the sending of notifications in an ad-hoc fashion. The following example demonstrates the basic usage of the route method for sending a notification to someone who has purchased something: 1 Notification :: route ( '...