| 1 | <?php |
||
| 9 | class MigrateMakeCommand extends LaravelMigration |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * The console command signature. |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $signature = 'make:rethink-migration {name : The name of the migration.} |
||
| 17 | {--create= : The table to be created.} |
||
| 18 | {--table= : The table to migrate.} |
||
| 19 | {--path= : The location where the migration file should be created.}'; |
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * Create a new migration install command instance. |
||
| 24 | * |
||
| 25 | * @param duxet\Rethinkdb\Migrations\MigrationCreator $creator |
||
| 26 | * @param \Illuminate\Foundation\Composer $composer |
||
| 27 | * @return void |
||
|
|
|||
| 28 | */ |
||
| 29 | public function __construct(MigrationCreator $creator, Composer $composer) |
||
| 33 | } |
||
| 34 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.