mirror of
https://github.com/JBDevLabs/ezmigrationbundle.git
synced 2026-03-24 17:02:18 +01:00
18 lines
440 B
PHP
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);
|
|
}
|