/** * Check if option value is changed * * @param \XLite\Model\Config $option Config option * @param string $value New value * * @return string */ protected function isChanged($option, $value) { return null !== $value && $option->getValue() !== $value; }
/** * {@inheritDoc} */ public function getValue() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', array()); return parent::getValue(); }