fetchOne('SELECT * FROM `users` WHERE email = ?', [$email]); return $row === null ? null : static::fromRow($row); } public function isAdmin(): bool { return $this->role === 'ADMIN'; } public function isMember(): bool { return $this->role === 'MEMBER'; } }