\App\ConsoleModule\CommandsUserCommand

User base command

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
askUserName()
$userManager
N/A
No private methods found
No private properties found
N/A

Properties

$userManager

$userManager : \App\ConsoleModule\Models\ConsoleUserManager

Type

normal — User manager

Methods

__construct()

__construct(\App\ConsoleModule\Models\ConsoleUserManager  $userManager) : mixed

Constructor

Parameters

\App\ConsoleModule\Models\ConsoleUserManager $userManager

User manager

Returns

mixed

askUserName()

askUserName(\Symfony\Component\Console\Input\InputInterface  $input, \Symfony\Component\Console\Output\OutputInterface  $output) : \App\Models\Database\Entities\User

Asks for the username

Parameters

\Symfony\Component\Console\Input\InputInterface $input

Command input

\Symfony\Component\Console\Output\OutputInterface $output

Command output

Returns

\App\Models\Database\Entities\User —

Information about the user