src/Datatype/PasswordClass.php
public function verify($password): bool {
        if ($password instanceof StringClass || $password instanceof PasswordClass) {
            return password_verify($password->getValue(), $this->getValue());
        }
        return password_verify($password, $this->getValue());
    }
public function verify($password): bool {
        if ($password instanceof StringClass || $password instanceof PasswordClass) {
            return password_verify($password->getValue(), $this->getValue());
        }
        return password_verify($password, $this->getValue());
    }
public function verify ( $ password ) : bool { if ( $ password instanceof StringClass || $ password instanceof PasswordClass ) { return password_verify ( $ password -> getValue ( ) , $ this -> getValue ( ) ) ; } return password_verify ( $ password , $ this -> getValue ( ) ) ; }
verifies the password

@param $password
@return bool
verifies the password