Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 399
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile 2... Zeile 2...
2
 
2
 
Zeile -... Zeile 3...
-
 
3
namespace Illuminate\Database\Console\Migrations;
3
namespace Illuminate\Database\Console\Migrations;
4
 
4
 
5
use Illuminate\Contracts\Console\PromptsForMissingInput;
5
use Illuminate\Database\Migrations\MigrationCreator;
6
use Illuminate\Database\Migrations\MigrationCreator;
Zeile 6... Zeile 7...
6
use Illuminate\Support\Composer;
7
use Illuminate\Support\Composer;
7
use Illuminate\Support\Str;
8
use Illuminate\Support\Str;
8
 
9
 
9
class MigrateMakeCommand extends BaseCommand
10
class MigrateMakeCommand extends BaseCommand implements PromptsForMissingInput
10
{
11
{
11
    /**
12
    /**
Zeile 126... Zeile 127...
126
                            : $targetPath;
127
                            : $targetPath;
127
        }
128
        }
Zeile 128... Zeile 129...
128
 
129
 
129
        return parent::getMigrationPath();
130
        return parent::getMigrationPath();
-
 
131
    }
-
 
132
 
-
 
133
    /**
-
 
134
     * Prompt for missing input arguments using the returned questions.
-
 
135
     *
-
 
136
     * @return array
-
 
137
     */
-
 
138
    protected function promptForMissingArgumentsUsing()
-
 
139
    {
-
 
140
        return [
-
 
141
            'name' => 'What should the migration be named?',
-
 
142
        ];
130
    }
143
    }