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 | * Create a new migration install command instance. |
||
23 | * |
||
24 | * @param duxet\Rethinkdb\Migrations\MigrationCreator $creator |
||
25 | * @param \Illuminate\Foundation\Composer $composer |
||
26 | * |
||
27 | * @return void |
||
|
|||
28 | */ |
||
29 | public function __construct(MigrationCreator $creator, Composer $composer) |
||
33 | } |
||
34 |
Adding a
@return
annotation 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.