Showing 4 of 1,204 results.

Laravel 5: Array Helper Functions

…rray functions offer additional functionality on top of PHP's built in array functions. The helper functions in this section are located within the "Illuminate\Support\Arr" static class. There are methods defined in the static class that have...

Laravel Array Helper Function: array_dot

The dot helper method will take a multi-dimensional array and return a new associative array where the keys are built from all the nested keys, separated with the . character. The signature for the dot helper method is: dot($array, $prepend = '')...

Laravel 5: Retrieving Environment Variables With env

…is no value currently set for the provided $key .The signature of the env function is: 1 function env ( 2 $ key , 3 $ default = null 4 ) ;The following examples will use the following .env environment file: 1 APP_ENV=local 2 APP_DEBUG=true 3...

Filter Search