Changeset View
Changeset View
Standalone View
Standalone View
src/app/Console/Commands/Scalpel/User/CreateCommand.php
Show All 13 Lines | |||||
* ``` | * ``` | ||||
* | * | ||||
* **NOTE**: Executes the model's create() function, and therefore the necessary observer routines (meaning, basically, | * **NOTE**: Executes the model's create() function, and therefore the necessary observer routines (meaning, basically, | ||||
* actions such as the creation of wallet will be executed), **HOWEVER** no entitlements will be associated with the | * actions such as the creation of wallet will be executed), **HOWEVER** no entitlements will be associated with the | ||||
* user. | * user. | ||||
*/ | */ | ||||
class CreateCommand extends ObjectCreateCommand | class CreateCommand extends ObjectCreateCommand | ||||
{ | { | ||||
protected $hidden = true; | |||||
protected $commandPrefix = 'scalpel'; | protected $commandPrefix = 'scalpel'; | ||||
protected $objectClass = \App\User::class; | protected $objectClass = \App\User::class; | ||||
protected $objectName = 'user'; | protected $objectName = 'user'; | ||||
protected $objectTitle = null; | protected $objectTitle = null; | ||||
} | } |