"array" ]; public function checkPassword($password):bool { return $this->password == hashid_encode($password); } }