Showing 10 of 1,214 results.

toJson($options = 0) | Laravel Fluent Part Two: The Public API

…thod will return a JSON encoded version of the data stored within the fluent instance. It internally does this by returning a call to PHP's json_encode function, passing in any $options that were supplied. Like the json_encode function, the...

sortBy Options | Laravel Collection Public API: sortBy

The $options parameter allows developers to change the sorting behavior of the sortBy method. The accepted options are the same options that are defined for PHP's sort function. The following collection instance will be used throughout this...

Switch Statement Validator | The Validate Command

…@case, statement is missing a, @break, A, @case, statement has too many, @break, statements, A, @switch, block contains too many, @default, statements The following templates: 1 @switch ( $ var ) 2 3 @endswitch 4 5 @switch ( $ var ) 6 @case ( 1 )...

Filter Search