コード例 #1
0
ファイル: Mysql.php プロジェクト: Doability/magento2dev
 /**
  * {@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;
 }
コード例 #2
0
ファイル: Application.php プロジェクト: Atlis/docker-magento2
 /**
  * Cleanup both the database and the file system
  */
 public function cleanup()
 {
     $this->_db->cleanup();
     $this->_cleanupFilesystem();
 }
コード例 #3
0
ファイル: Mysql.php プロジェクト: aiesh/magento2
 /**
  * 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();
 }