id = $id; $this->name = $name; $this->role = $role; } /** * Returns the user identifier. * * @return string */ public function getID() { return $this->id; } /** * Returns the user name. * * @return string */ public function getName() { return $this->name; } /** * Returns the user role (guest, admin, operator). * * @return string */ public function getRole() { return $this->role; } }