protected function getCommand() { if (!$this->command) { # # If its not there, then create command structure # $this->command = $this->createElement('command'); $this->getEpp()->appendChild($this->command); } return $this->command; }