Showing 10 of 2,055 results.

Laravel Collection Public API: flip

flip The flip method will return a new Collection instance where are the all the collection item's keys have been exchanged with their corresponding values. The following code example demonstrates the effects of the flip method: 1 <?php 2 3 use...

Example Use | Laravel 5.5 String Helper Method: title

1 use Illuminate \ Support \ Str ; 2 3 // This Is A Title 4 echo Str :: title ( ' THIS IS A TITLE ' ) ; 5 6 // This Is A Title 7 echo Str :: title ( ' this is a title ' ) ; 8 9 // This Is A Title 10 echo Str :: title ( ' ThIs Is a tItle ' ) ;

Overview | Validating Blade

This documentation page is intended for those looking to implement their own Blade validators, or are curious to learn more about the system. If you are interested in running existing validators against your Laravel project, consider reading the...

Laravel Fluent Part One: Introduction

…series are: Laravel Fluent Part One: Introduction, Laravel Fluent Part Two: The Public API The Illuminate\Support\Fluent class is a useful data type. It allows for the construction of a data "container" similar to an array or instance of stdClass...

withoutDoubleEncoding | Blade Compiler

Set the "echo" format to not double encode entities. This method has the same behavior as the Illuminate\View\Compilers\BladeCompiler::withoutDoubleEncoding method. You do not need to manually call this method to sync compiler information if you...