2FAuth/app/Factories/MigratorFactoryInterface.php

16 lines
373 B
PHP
Raw Normal View History

<?php
namespace App\Factories;
use App\Services\Migrators\Migrator;
interface MigratorFactoryInterface
{
/**
* Infer the type of migrator needed from a payload and create the migrator
2022-11-22 15:15:52 +01:00
*
* @param string $migrationPayload The migration payload used to infer the migrator type
*/
public function create(string $migrationPayload) : Migrator;
2022-11-22 15:15:52 +01:00
}