| Current Path : /var/www/v3.cesa.co.za/vendor/doctrine/migrations/src/Finder/ |
| Current File : /var/www/v3.cesa.co.za/vendor/doctrine/migrations/src/Finder/MigrationFinder.php |
<?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|null $namespace = null): array;
}