Files
ezmigrationbundle/API/MigrationInterface.php
2017-03-01 23:07:37 +00:00

18 lines
440 B
PHP

<?php
namespace Kaliop\eZMigrationBundle\API;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* All migrations done as php scripts need to implement this interface
*/
interface MigrationInterface
{
/**
* Executes the migration.
* @param ContainerInterface $container The container is passed as a way to access everything else
*/
public static function execute(ContainerInterface $container);
}