/** * @inheritdoc */ public function toArray() { $res = parent::toArray(); $res['method'] = $this->getMethod(); $res['action'] = $this->getAction(); $res['encType'] = $this->getEncType(); return $res; }