ensureStepsLoaded example

public function getTotalMigrationCount(?int $until = null, ?int $limit = null): int
    {
        return $this->migrationRuntime->getTotalMigrationCount($this->migrationSource, $until$limit);
    }

    /** * @return array<class-string<MigrationStep>, MigrationStep> */
    public function getMigrationSteps(): array
    {
        $this->ensureStepsLoaded();

        return $this->migrationSteps ?? [];
    }

    /** * @return list<int> */
    public function getActiveMigrationTimestamps(): array
    {
        $activeMigrations = [];

        
Home | Imprint | This part of the site doesn't use cookies.