mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-02 21:26:42 +01:00
18 lines
376 B
PHP
18 lines
376 B
PHP
<?php
|
|
|
|
namespace App\Services\Migrators;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
abstract class Migrator
|
|
{
|
|
/**
|
|
* Convert migration data to a 2FAccounts collection.
|
|
*
|
|
* @param mixed $migrationPayload
|
|
* @return \Illuminate\Support\Collection The converted accounts
|
|
*/
|
|
abstract protected function migrate(mixed $migrationPayload) : Collection;
|
|
|
|
}
|