Signature | Laravel 5 String Helpers: Replacing the First Occurrence of a Value
The signature of the replaceMethod is: 1 public static function replaceFirst( 2 $search, 3 $replace, 4 $subject 5 );
Showing 10 of 2,044 results.
The signature of the replaceMethod is: 1 public static function replaceFirst( 2 $search, 3 $replace, 4 $subject 5 );
The str_replace_first function is a shortcut to calling Str::replaceFirst . This function is declared in the global namespace.
…site will display an error page similar to this when a catastrophic error occurs: Granted, this is much nicer to look at than the default error page that is often provided by web servers such as Apache or nginx, but it still does not communicate...
The get method will return the value associated with the provided $key . If the $key does not exist, the $default value will be returned (which is null by default).
The signature of the get method is: 1 public function get ( 2 $ key , 3 $ default = null 4 ) ;
The getAttributes method simply returns an array containing all key/value pairs, representing the underlying data contained within the Fluent instance.
The signature of the getAttributes method is: 1 public function getAttributes ( ) ;
The signature of the toArray method is: 1 public function toArray ( ) ;
The signature of the jsonSerialize method is: 1 public function jsonSerialize ( ) ;
The toJson method will return a JSON encoded version of the data stored within the fluent instance. It internally does this by returning a call to PHP's json_encode function, passing in any $options that were supplied. Like the json_encode...