Search

Showing 7 of 1,697 result(s)

/blog/2016/11/30/laravels-bcrypt-hasher

The Illuminate\Hashing\Bcrypt hasher is registered with the service container in the Illuminate\Hashing\HashServiceProvider service provider, and is bound to the name hash (the hash key in the service container is itself an alias for the...

/blog/2016/11/30/laravels-bcrypt-hasher#content-needsrehashhashedvalue-array-options--

The needsRehash method is used to determine if the provided $hashedValue has been hashed with the supplied $options . This is useful for when the work factor of a hashing function has been updated and all passwords need to be updated to use the...

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

Laravel provides many facades to make it easier to quickly build application and test ideas. One such facade is the Illuminate\Support\Facades\Hash facade, which provides access to whatever implementation is bound to the...

/blog/2016/11/30/the-laravel-translator

The Translator class is the class that most developers will be used to interacting with. The Translator class is responsible for handling the interactions between the application and the underlying translation systems, such as interacting with...

/blog/2016/11/30/the-laravel-translator#content-getselector

The getSelector() method returns the instance of \Symfony\Component\Translation\MessageSelector that the translator is currently using. If no MessageSelector has been previously set, a new instance of MessageSelector is created and returned.

/blog/2016/11/30/the-laravel-translator#content-getfallback

The getFallback() method is used to return the fallback locale that the translator is currently using. A fallback locale is used when a translation for a different locale cannot be found.

/blog/2016/12/01/alternatives-to-laravel-artisan-command-signatures#content-adding-descriptions-to-command-parameters

The signature that will be implemented using the getArguments method is: test:command {firstArgument : This is the description } The corresponding getArguments implementation would be: