WIP - API refactor: begin work on migration execution

This commit is contained in:
gggeek
2016-07-31 00:50:16 +01:00
parent e5530b6c95
commit 2eeeb61d6c
21 changed files with 500 additions and 463 deletions
+5 -3
View File
@@ -2,6 +2,8 @@
namespace Kaliop\eZMigrationBundle\API;
use Kaliop\eZMigrationBundle\API\Value\MigrationStep;
/**
* Interface that all migration definition handlers need to implement.
*
@@ -20,9 +22,9 @@ interface ExecutorInterface
/**
* Execute a single action in a migration version
*
* @param $type
* @param array $dsl the definition of the action
* @param MigrationStep $step
* @return void
* @throws \Exception
*/
public function execute($type, array $dsl = array());
public function execute(MigrationStep $step);
}