user = $user; $this->enabled = $enabled; } /** * @return IUser */ public function getUser(): IUser { return $this->user; } /** * @return bool */ public function isEnabled(): bool { return $this->enabled; } }