diff --git a/User.php b/User.php new file mode 100644 index 0000000..0f61993 --- /dev/null +++ b/User.php @@ -0,0 +1,25 @@ +username = $username; + $db = new BancaDati(); + return $this; + } + + public function exists() { + return true; + } + public function login(string $password) : string { + // select user + // $this->db->select() + return "token"; + } +} \ No newline at end of file