Showing 7 of 1,216 result(s)
…le aggregate functions, along with many others. This section will cover most of the methods in the public API, excluding those methods required to implement PHP's ArrayAccess and IteratorAggregate interfaces, as well as the getCachingIterator...
Laravel provides many helper functions for interacting and manipulating array data structures. Laravel's array functions offer additional functionality on top of PHP's built in array functions. The helper functions in this section are located...
…Internally this is accomplished by returning the result of the toJson method. After the above code executes, the $stringValue variable would contain the following value: {"first":["The first message"]}This article is the start of a mini-series...
…generally be the name of the form element being validated. Assuming the following HTML form element: <input type="text" name="username" /> Messages relating the username field could be stored like so:This article is the start of a mini-series...
…ieve all of the messages with the given format: The message was: :message After the above code has executed, the $messages variable will be an array and contain a value similar to the following output:This article is the start of a mini-series...
…ag instance actually has any messages. The method returns true if the instance has messages, otherwise it returns false . The following code examples demonstrate the usage of this fairly simple method:This article is the start of a mini-series...
The count method is a straightforward method and simply returns the total number of items in the collection. The count method returns an integer.This article is the start of a mini-series about Laravel's ErrorMessageBag component. Click through...
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.