mirror of
https://github.com/jbcr/ezmigrationbundle.git
synced 2026-03-25 09:22:18 +01:00
20 lines
447 B
PHP
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);
|
|
}
|