protected function writeMigration($name, $table, $create)
    {
        $file = pathinfo($this->creator->create(
            $name, $this->getMigrationPath(), $table, $create
        ), PATHINFO_FILENAME);

        $this->info("Created Migration: {$file}");
    }
protected function writeMigration($name, $table, $create)
    {
        $file = pathinfo($this->creator->create(
            $name, $this->getMigrationPath(), $table, $create
        ), PATHINFO_FILENAME);

        $this->info("Created Migration: {$file}");
    }
protected function writeMigration ( $ name , $ table , $ create ) { $ file = pathinfo ( $ this -> creator -> create ( $ name , $ this -> getMigrationPath ( ) , $ table , $ create ) , PATHINFO_FILENAME ) ; $ this -> info ( "Created Migration: {$file}" ) ; }
Write the migration file to disk.

@param  string $name
@param  string $table
@param  bool   $create
Write the migration file to disk .