Search

Showing 7 of 1,975 result(s)

/blog/2016/11/21/laravel-router-helper-function-post

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...

/blog/2016/11/21/laravel-router-helper-function-put

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...

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

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...

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

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...

/blog/2016/11/30/laravel-string-pluralization#content-using-intervals-with-translation-message

…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...

/blog/2016/11/30/laravel-string-pluralization#content-notes-on-decimals

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...

/blog/2016/11/30/laravels-bcrypt-hasher#content-the-hash-facade

…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...