Search

Showing 7 of 2,041 result(s)

/blog/2017/12/06/laravel-5-string-helpers-replacing-the-first-occurrence-of-a-value#content-global-strreplacefirst-helper-function

The str_replace_first function is a shortcut to calling Str::replaceFirst . This function is declared in the global namespace.

/blog/2017/12/06/laravel-5-string-helpers-replacing-the-last-occurrence-of-a-value#content-global-strreplacelast-helper-function

The str_replace_last function is a shortcut to calling Str::replaceLast . This function is declared in the global namespace.

/blog/2017/12/06/laravel-5-string-helpers-uppercasing-the-first-word-of-a-value#content-global-endswith-helper-function

The ends_with function is a shortcut to calling Str::endsWith . This function is declared in the global namespace.

/blog/2018/04/11/laravel-5-adding-a-new-element-to-the-beginning-of-an-array-with-prepend#content-global-arrayprepend-helper-function

The array_prepend helper function is a shortcut to calling the Arr::prepend helper method. This function is declared in the global namespace.

/blog/2018/04/11/laravel-5-adding-elements-to-the-array-with-add#content-global-arrayadd-helper-function

The array_add function is a shortcut to calling Arr::add . This function is declared in the global namespace.

/blog/2018/04/11/laravel-5-ensuring-a-value-is-an-array-with-wrap#content-global-arraywrap-helper-function

The array_wrap helper function is a shortcut to calling Arr:wrap . This function is declared in the global namespace.