/** * {@inheritdoc} */ public function __construct($host, $user, $password, $schema, $varPath, \Magento\Framework\Shell $shell) { parent::__construct($host, $user, $password, $schema, $varPath, $shell); $this->_dbDumpFile = $this->_varPath . '/setup_dump_' . $this->_schema . '.sql'; $this->_defaultsExtraFile = rtrim($this->_varPath, '\\/') . '/' . self::DEFAULTS_EXTRA_FILE_NAME; }
/** * Cleanup both the database and the file system */ public function cleanup() { $this->_db->cleanup(); $this->_cleanupFilesystem(); }
/** * Set initial essential parameters * * @param string $host * @param string $user * @param string $password * @param string $schema * @param string $varPath * @param \Magento\Framework\Shell $shell * @throws \Magento\Framework\Exception */ public function __construct($host, $user, $password, $schema, $varPath, \Magento\Framework\Shell $shell) { parent::__construct($host, $user, $password, $schema, $varPath, $shell); $this->_createDefaultsExtra(); }