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