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