Skip to content
Snippets Groups Projects
Select Git revision
  • dba7a0e1a6761916877fa9c2e64d7d9874b19e41
  • main default protected
  • v0.10
  • 0.10.6
  • 0.10.5
  • 0.10.4
  • 0.10.3
  • 0.10.2
  • 0.10.1
  • 0.10.0
  • 0.9.1
  • 0.9.0
12 results

PhpFileLoaderTest.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 );
    		}
    	}
    }