Exemplo n.º 1
0
 /**
  * @param Migrator           $migrator
  * @param MigrationsConfig   $config
  * @param ContainerInterface $container
  */
 public function __construct(Migrator $migrator, MigrationsConfig $config, ContainerInterface $container)
 {
     parent::__construct($container);
     $this->migrator = $migrator;
     $this->config = $config;
 }
Exemplo n.º 2
0
 /**
  * @param ScaffolderConfig   $config
  * @param ContainerInterface $container
  */
 public function __construct(ScaffolderConfig $config, ContainerInterface $container)
 {
     $this->config = $config;
     parent::__construct($container);
 }