/** * @see \WsdlToPhp\PhpGenerator\Element\AbstractElement::getChildren() * @return array */ public function getChildren() { if ($this->getHasBody() === true) { return parent::getChildren(); } return array(); }