What is meant by check method ?

Answer Posted / surbhi

This is shown in the code given below -

if (Hash::check('plain-text', $hashedPassword)) {
// The passwords match...
}
Note that the check method compares the plain-text with the hashedPassword variable and if the result is true, it returns a true value.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How install react js in laravel?

418


Explain events in laravel?

413


What is laravel policy?

444


What are system requirement for laravel 5.0?

405


How to use traits in laravel?

453






How do you install laravel?

421


What is soft delete in laravel?

417


By default valet serve your app on which tld? How to configure it to use another domain?

384


What is a facade?

419


What is localization?

400


Explain few features of laravel?

395


Explain laravel’s service container?

411


What is meant by Laravel - Localization ?

917


How to start, stop mysql on valet?

399


What is tinker in laravel?

415