| 1 | <?php namespace Bedard\Shop\Console; |
||
| 7 | class Abandon extends Command |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string The console command name. |
||
| 11 | */ |
||
| 12 | protected $name = 'shop:abandon'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string The console command description. |
||
| 16 | */ |
||
| 17 | protected $description; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Constructor. |
||
| 21 | * |
||
| 22 | * @return void |
||
|
|
|||
| 23 | */ |
||
| 24 | public function __construct() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Execute the console command. |
||
| 33 | * |
||
| 34 | * @return void |
||
| 35 | */ |
||
| 36 | public function fire() |
||
| 42 | } |
||
| 43 |
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.