public function isPasswordValid($encodedPassword, $rawPassword, $salt)
    {
        return ! $this->isPasswordTooLong($rawPassword) && password_verify($rawPassword, $encodedPassword);
    }
public function isPasswordValid($encodedPassword, $rawPassword, $salt)
    {
        return ! $this->isPasswordTooLong($rawPassword) && password_verify($rawPassword, $encodedPassword);
    }
public function isPasswordValid ( $ encodedPassword , $ rawPassword , $ salt ) { return ! $ this -> isPasswordTooLong ( $ rawPassword ) && password_verify ( $ rawPassword , $ encodedPassword ) ; }
Check if password is valid

@param $encodedPassword
@param $rawPassword
@param $salt
@return bool
Check if password is valid