#[Package('core')]
class MigrationCollectionFactory{ public function __construct(private readonly string
$projectDir) { } public function getMigrationCollectionLoader(Connection
$connection): MigrationCollectionLoader
{ return new MigrationCollectionLoader( $connection,
new MigrationRuntime($connection,
new NullLogger()),
$this->
collect() );
} /**
* @return list<MigrationSource>
*/
private function collect(): array
{