Showing 10 of 1,089 results.

Laravel Helper Function: logger

logger($message = null, $context = []) The logger helper function is a versatile function. If the $message is null , which it is by default, the logger function will return an implementation of Illuminate\Contracts\Logging\Log , which by default...

Laravel Array Helper Function: array_get

get($array, $key, $default = null) The get helper method will retrieve an item from the given $array using dot notation. This allows developers to retrieve items from the array at arbitrary depths quickly, without having to use PHP's array syntax....

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 String Helper Function: str_replace_first

The replaceFirst helper method is used to replace the first occurrence of a given $search string with the provided $replace string in the $subject string. All three parameters are required and must be strings. The signature for the replaceFirst...

Laravel String Helper Function: equals

…nputs ( $knownString and $userInput ) increases. The method returns a boolean value, true if the strings are determined to be equal to one another or false if the strings are determined to not be equal to one another. The signature for the equals...

Filter Search