protected function publishMigration($filename)
    {
        $extension = '.php';
        $filename = trim($filename, $extension).$extension;
        $stub = __DIR__.'/../migrations/'.$filename;
        $target = $this->getMigrationFilepath($filename);
        $this->publishes([$stub => $target], 'migrations');
    }
protected function publishMigration($filename)
    {
        $extension = '.php';
        $filename = trim($filename, $extension).$extension;
        $stub = __DIR__.'/../migrations/'.$filename;
        $target = $this->getMigrationFilepath($filename);
        $this->publishes([$stub => $target], 'migrations');
    }
protected function publishMigration ( $ filename ) { $ extension = '.php' ; $ filename = trim ( $ filename , $ extension ) . $ extension ; $ stub = __DIR__ . '/../migrations/' . $ filename ; $ target = $ this -> getMigrationFilepath ( $ filename ) ; $ this -> publishes ( [ $ stub => $ target ] , 'migrations' ) ; }
Publish a single migration file.

@param string $filename
@return void
Publish a single migration file .