/**
  * {@inheritDoc}
  */
 public function getEnabled()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', array());
     return parent::getEnabled();
 }
示例#2
0
 /**
  * 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();
 }