Skip to content
Snippets Groups Projects
Select Git revision
  • f585c763adbafd7c99454198a72967e669403536
  • main default protected
  • devel
  • 1.1.0
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
9 results

ArrayMigrationsRepository.php

Blame
  • ArrayMigrationsRepository.php 333 B
    <?php
    declare(strict_types=1);
    
    namespace WPDesk\Migrations;
    
    class ArrayMigrationsRepository extends AbstractMigrationsRepository {
    
    	protected function load_migrations(): void {
    		/** @var class-string<AbstractMigration> $class */
    		foreach ( $this->migrations_source as $class ) {
    			$this->register_migration( $class );
    		}
    	}
    }