public function __construct(Migrator $migrator) { $this->migrator = $migrator; parent::__construct($migrator->getModule()); }