What is meant by check method ?



What is meant by check method ?..

Answer / 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

More Laravel PHP Framework Interview Questions

What do you know about csrf token in laravel? How can someone turn off csrf protection for a specific route?

0 Answers  


Why laravel is the best framework?

0 Answers  


How to enable the query logging?

0 Answers  


What is the use of db facade?

0 Answers  


What is laravel echo?

0 Answers  






How to share sites with external world on valet?

0 Answers  


What are guards in laravel?

0 Answers  


What is laravel spark?

0 Answers  


What is an api route?

0 Answers  


What is mvc framework laravel?

0 Answers  


Explain the concept of cookies.

0 Answers  


Is laravel better than wordpress?

0 Answers  


Categories