5.1.3.4.1. Baleen\Migrations\Migration\Factory\FactoryInterface

interface FactoryInterface

Interface for a Migrations Factory.

create($class, $args =[])

Creates a Migration based on a class name.

Parameters:
  • $class (string) – The FQN of the migration class to be instantiated.
  • $args (array) – Constructor parameters.
Returns:

BaleenMigrationsMigrationMigrationInterface