/** * {@inheritDoc} */ public function getEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', array()); return parent::getEnabled(); }
/** * Get enabled. Should always be true for manual pin codes products * * @return boolean $enabled */ public function getEnabled() { return $this->getProduct() && $this->getProduct()->hasManualPinCodes() || parent::getEnabled(); }