b374k
m1n1 1.01
Apache/2.4.41 (Ubuntu)
Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
uid=33(www-data) gid=33(www-data) groups=33(www-data)
server ip : 62.171.164.128 | your ip : 127.0.0.1
safemode OFF
 >  / home / dev2.destoffenstraat.com / vendor / magento / framework / Setup /
Filename/home/dev2.destoffenstraat.com/vendor/magento/framework/Setup/ModuleDataSetupInterface.php
Size2.29 kb
Permissionrw-r--r--
Ownerroot : root
Create time17-Aug-2025 10:26
Last modified07-Jan-2021 21:08
Last accessed23-Aug-2025 03:56
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Setup;

/**
* DB data resource interface for a module
*
* @api
* @since 100.0.2
*/
interface ModuleDataSetupInterface extends SetupInterface
{
const DEFAULT_SETUP_CONNECTION = 'default_setup';

const VERSION_COMPARE_EQUAL = 0;

const VERSION_COMPARE_LOWER = -1;

const VERSION_COMPARE_GREATER = 1;

const TYPE_DATA_INSTALL = 'data-install';

const TYPE_DATA_UPGRADE = 'data-upgrade';

/**
* Retrieve row or field from table by id or string and parent id
*
* @param string $table
* @param string $idField
* @param string|integer $rowId
* @param string|null $field
* @param string|null $parentField
* @param string|integer $parentId
* @return mixed
*/
public function getTableRow($table, $idField, $rowId, $field = null, $parentField = null, $parentId = 0);

/**
* Delete table row
*
* @param string $table
* @param string $idField
* @param string|int $rowId
* @param null|string $parentField
* @param int|string $parentId
* @return $this
*/
public function deleteTableRow($table, $idField, $rowId, $parentField = null, $parentId = 0);

/**
* Update one or more fields of table row
*
* @param string $table
* @param string $idField
* @param string|integer $rowId
* @param string|array $field
* @param mixed|null $value
* @param string $parentField
* @param string|integer $parentId
* @return $this
*/
public function updateTableRow($table, $idField, $rowId, $field, $value = null, $parentField = null, $parentId = 0);

/**
* Gets event manager
*
* @return \Magento\Framework\Event\ManagerInterface
*/
public function getEventManager();

/**
* Gets filesystem
*
* @return \Magento\Framework\Filesystem
*/
public function getFilesystem();

/**
* Create migration setup
*
* @param array $data
* @return \Magento\Framework\Module\Setup\Migration
*/
public function createMigrationSetup(array $data = []);

/**
* Gets setup cache
*
* @return DataCacheInterface
*/
public function getSetupCache();
}