Showing 7 of 1,975 result(s)
post($uri, $action) The post function is a shortcut to registering a route with the router that responds to the POST HTTP verb. The $uri is the URI of the route, such as / or login . The $action is what will be executed by the router when the...
put($uri, $action) The put function is a shortcut to registering a route with the router that responds to the PUT HTTP verb. The $uri is the URI of the route, such as / or login . The $action is what will be executed by the router when the route...
The getFormat is the logical opposite of the setFormat method. It simply returns the current format that is being used by the MessageBag instance.This article is the start of a mini-series about Laravel's ErrorMessageBag component. Click through...
The getMessageBag method returns a reference to the MessageBag instance. It exists to satisfy the requirements of the Illuminate\Contracts\Support\MessageProvider interface.This article is the start of a mini-series about Laravel's ErrorMessageBag...
…interval appears as the beginning of translation message. Message tags cannot be used when using intervals. The following is an example translation message using intervals: THe following code example will demonstrate the value returned by the...
In the previous example, trying to match the number 3.4 will throw an instance of InvalidArgumentException . To match any possible number, including decimals, for the previous translation messages, the explicit number groups must be replaced with...
…nate\Support\Facades\Hash facade, which provides access to whatever implementation is bound to the Illuminate\Contracts\Hashing\Hasher interface within the service container. Since the Hash facade resolves an implementation of Hasher , all Hasher...