/** * {@inheritDoc} */ public function getDependentModules() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDependentModules', array()); return parent::getDependentModules(); }
/** * Check if the module can be disabled * * @param \XLite\Model\Module $module Module * * @return boolean */ protected function canDisable(\XLite\Model\Module $module) { return !(bool) $module->getDependentModules(); }