Files
ezmigrationbundle/API/MigrationGeneratorInterface.php
2017-02-04 00:37:32 +00:00

20 lines
447 B
PHP

<?php
namespace Kaliop\eZMigrationBundle\API;
/**
* Interface that all migration definition handlers need to implement if they can generate a migration.
*/
interface MigrationGeneratorInterface
{
/**
* Generate a migration
*
* @param array $matchCondition
* @param string $mode
* @return array Migration data
* @throws \Exception
*/
public function generateMigration(array $matchCondition, $mode);
}