caisse-bliss/vendor/doctrine/migrations/lib/Doctrine/Migrations/Finder/MigrationFinder.php

20 lines
544 B
PHP
Raw Normal View History

2023-06-19 12:13:30 +02:00
<?php
declare(strict_types=1);
namespace Doctrine\Migrations\Finder;
/**
* The MigrationFinder interface defines the interface used for finding migrations in a given directory and namespace.
*/
interface MigrationFinder
{
/**
* @param string $directory The directory which the finder should search
* @param string|null $namespace If not null only classes in this namespace will be returned
*
* @return string[]
*/
public function findMigrations(string $directory, ?string $namespace = null): array;
}