/** * Get the current method code. */ public function getCode() { if (parent::hasCode()) { return parent::getCode(); } return $this->_code; }