示例#1
0
 /**
  * Create migration setup
  *
  * @param array $data
  * @return \Magento\Framework\Module\Setup\Migration
  */
 public function createMigrationSetup(array $data = [])
 {
     $data['setup'] = $this;
     return $this->_migrationFactory->create($data);
 }
示例#2
0
 /**
  * Create migration setup
  *
  * @param array $data
  * @return \Magento\Framework\Module\Setup\Migration
  */
 public function createMigrationSetup(array $data = array())
 {
     return $this->_migrationFactory->create($data);
 }