/** * @param Ess_M2ePro_Model_Upgrade_MySqlSetup $installer * @return $this */ public function setInstaller(Ess_M2ePro_Model_Upgrade_MySqlSetup $installer) { $this->installer = $installer; $this->connection = $installer->getConnection(); $this->tablesObject = $installer->getTablesObject(); return $this; }