/** * Retrieve module upgrade directory * * @return string */ public function getUpgradesDir() { if (!$this->module->getLocal() || !$this->module->getLocal()->getPath()) { return null; } return $this->module->getLocal()->getPath() . '/Upgrades'; }