public function verify($password, $hash)
    {
        if (static::isSodiumAlgo($this->type)) {
            return $this->verifySodium($password, $hash);
        }

        return password_verify($password, $hash);
    }
public function verify($password, $hash)
    {
        if (static::isSodiumAlgo($this->type)) {
            return $this->verifySodium($password, $hash);
        }

        return password_verify($password, $hash);
    }
public function verify ( $ password , $ hash ) { if ( static :: isSodiumAlgo ( $ this -> type ) ) { return $ this -> verifySodium ( $ password , $ hash ) ; } return password_verify ( $ password , $ hash ) ; }
Verify the password.

@param   string $password The password plain text.
@param   string $hash     The hashed password.

@return  boolean  Verify success or not.

@see  https://github.com/ircmaxell/password_compat/blob/92951ae05e988803fdc1cd49f7e4cd29ca7b75e9/lib/password.php#L230-L247
Verify the password .