Changeset View
Changeset View
Standalone View
Standalone View
src/app/Console/Commands/Package/ReadCommand.php
- This file was added.
<?php | |||||
namespace App\Console\Commands\Package; | |||||
use App\Console\Commands\ObjectReadCommand; | |||||
class ReadCommand extends ObjectReadCommand | |||||
{ | |||||
/** | |||||
* The name and signature of the console command. | |||||
* | |||||
* @var string | |||||
*/ | |||||
protected $signature = 'package:read {package}'; | |||||
/** | |||||
* The console command description. | |||||
* | |||||
* @var string | |||||
*/ | |||||
protected $description = 'Read package'; | |||||
protected $objectClass = \App\Package::class; | |||||
protected $objectName = 'package'; | |||||
protected $objectTitle = 'title'; | |||||
} |