| Total Complexity | 2 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class VersionCommand extends Command |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * The name and signature of the console command. |
||
| 17 | * |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $signature = 'version'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The console command description. |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | protected $description = 'Display version of the application.'; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The Version instance |
||
| 31 | * |
||
| 32 | * @var Version |
||
| 33 | */ |
||
| 34 | protected $version; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Create a new command instance. |
||
| 38 | * |
||
| 39 | * @param Version $version |
||
| 40 | */ |
||
| 41 | 7 | public function __construct(Version $version) |
|
| 46 | 7 | } |
|
| 47 | |||
| 48 | /** |
||
| 49 | * Execute the console command. |
||
| 50 | * |
||
| 51 | * @return void |
||
| 52 | */ |
||
| 53 | 1 | public function handle() |
|
| 58 |