Files
CloudOps/docker-compose/mautic-setup/mautic-backup-files/docroot/app/bundles/IntegrationsBundle/Migration/MigrationInterface.php

19 lines
324 B
PHP
Executable File

<?php
declare(strict_types=1);
namespace Mautic\IntegrationsBundle\Migration;
interface MigrationInterface
{
/**
* Returns true if the migration should be executed.
*/
public function shouldExecute(): bool;
/**
* Execute migration if applicable.
*/
public function execute(): void;
}