Showing 7 of 1,216 result(s)

/blog/2016/11/29/laravel-messagebag-public-api-jsonserialize

…onSerializable interface, which allows developers to customize how a class is represented when using the json_encode function. The $value variable would contain a value similar to the following output:This article is the start of a mini-series...

/blog/2016/11/29/laravel-messagebag-public-api-keys

…as executed, the $keys variable will be an array that contains a value similar to the following output: It can be seen that the results contain only the keys that were added to the MessageBag instance.This article is the start of a mini-series...

/blog/2016/11/29/laravel-messagebag-public-api-merge

…instance can be supplied as the argument for the $messages parameter: After the above code has executed the $messageArray variable will be an array and contain a value similar to the following output:This article is the start of a mini-series...

/blog/2016/11/29/laravel-messagebag-public-api-setformat

…used as the value of the new format. If the setFormat method is called without supplying a value for $format , it will reset the format to the default value (because of the parameter's default value).This article is the start of a mini-series...

/blog/2016/11/29/laravel-messagebag-public-api-toarray

…the Illuminate\Contracts\Support\Arrayable interface). Consider the following code: After the above code has executed, the $returnedItems variable would contain a value similar to the following output:This article is the start of a mini-series...

/blog/2016/11/29/laravel-messagebag-public-api-tojson

…ther) to which data will be encoded, which is by default set to 512 . To convert a message bag instance into its JSON equivalent with a depth greater than 512 , the following method will be sufficient:This article is the start of a mini-series...

/blog/2016/11/29/an-introduction-to-laravel-message-bags

…. Illuminate\View\View The View class uses instances of MessageProvider implementations to facilitate the communication of errors between the application logic and the front-end code of an application.This article is the start of a mini-series...

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.