src/Autocreate/Manager.php
protected static function createMigration(HandlerInterface $handler)
    {
        $migrator = static::$migrator;
        $notifier = new Notifier();

        $migration = $migrator->createMigration(
            strtolower($handler->getName()),
            $handler->getTemplate(),
            $handler->getReplace()
        );

        $migrator->logSuccessfulMigration($migration);
        $notifier->newMigration($migration);
    }
protected static function createMigration(HandlerInterface $handler)
    {
        $migrator = static::$migrator;
        $notifier = new Notifier();

        $migration = $migrator->createMigration(
            strtolower($handler->getName()),
            $handler->getTemplate(),
            $handler->getReplace()
        );

        $migrator->logSuccessfulMigration($migration);
        $notifier->newMigration($migration);
    }
protected static function createMigration ( HandlerInterface $ handler ) { $ migrator = static :: $ migrator ; $ notifier = new Notifier ( ) ; $ migration = $ migrator -> createMigration ( strtolower ( $ handler -> getName ( ) ) , $ handler -> getTemplate ( ) , $ handler -> getReplace ( ) ) ; $ migrator -> logSuccessfulMigration ( $ migration ) ; $ notifier -> newMigration ( $ migration ) ; }
Create migration and apply it.

@param HandlerInterface $handler
Create migration and apply it .