(int)$this->id, 'username' => $this->username, 'created_at' => $this->created_at, 'updated_at' => $this->created_at, 'primaryMail' => $this->getMail(), 'status' => $this->status, 'inviteCode' => $this->inviteCode, 'developer' => (bool)$this->developer, 'admin' => (bool)$this->admin ]; } }