Global str_replace_first Helper Function | Laravel 5 String Helpers: Replacing the First Occurrence of a Value
The str_replace_first function is a shortcut to calling Str::replaceFirst . This function is declared in the global namespace.
Showing 10 of 1,089 results.
The str_replace_first function is a shortcut to calling Str::replaceFirst . This function is declared in the global namespace.
…compile ( ComponentNode $ componentNode ) : CompiledComponent 52 { 53 $ name = $ this -> getComponentName ( ) ; 54 55 $ innerContent = $ this -> voltCompiler -> compileVolt ( $ componentNode -> childNodes ) ; 56 $ publicMethods = [ ] ; 57 $...
The str_contains function is a shortcut to calling Str::contains . This function is declared in the global namespace.
The str_is function is a shortcut to calling Str::is . This function is declared in the global namespace.
The starts_with function is a shortcut to calling Str::startsWith . This function is declared in the global namespace.
The str_random function is a shortcut to calling Str::random . This function is declared in the global namespace.
The studly_case function is a shortcut to calling Str::studly . This function is declared in the global namespace.
…ture of the class_basename function is: 1 function class_basename ( 2 $ class 3 ) ;The class_basename will return the base name of the given $class . The examples that follow will use the classes defined below: 1 <?php 2 3 class Object { } 4 5...
1 <?php 2 3 function postCreateSomeValue ( ) { 4 // ... code here ... 5 return back ( ) ; 6 }
The str_singular function is a shortcut to calling Str::singular . This function is declared in the global namespace.