UlidCommand
- Full name:
\Codefy\Framework\Console\Commands\UlidCommand
- Parent class:
\Codefy\Framework\Console\ConsoleCommand
Properties
name
description
codefy
Methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$codefy | \Codefy\Framework\Application |
handle
Inherited methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$codefy | \Codefy\Framework\Application |
configure
Configure commands.
execute
protected execute(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output): int
Parameters:
Parameter | Type | Description |
---|---|---|
$input | \Symfony\Component\Console\Input\InputInterface | |
$output | \Symfony\Component\Console\Output\OutputInterface |
Throws:
getArgument
Returns the argument value for the given argument name.
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string|null |
getOptions
Returns the option value for the given option name.
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string|null |
terminalRaw
Outputs the string to the console without any tag.
Parameters:
Parameter | Type | Description |
---|---|---|
$string | string |
terminalInfo
Output to the terminal wrap in info tags.
Parameters:
Parameter | Type | Description |
---|---|---|
$string | string |
terminalComment
Output to the terminal wrap in comment tags.
Parameters:
Parameter | Type | Description |
---|---|---|
$string | string |
terminalQuestion
Output to the terminal wrap in question tags.
Parameters:
Parameter | Type | Description |
---|---|---|
$string | string |
terminalError
Output to the terminal wrap in error tags.
Parameters:
Parameter | Type | Description |
---|---|---|
$string | string |
terminalNewLine
Output to the terminal with a blank line.
Parameters:
Parameter | Type | Description |
---|---|---|
$count | int |
confirm
Parameters:
Parameter | Type | Description |
---|---|---|
$question | string |
ask
Parameters:
Parameter | Type | Description |
---|---|---|
$question | string | |
$default | bool|float|int|string|null |
choice
protected choice(string $question, array $choices, bool|float|int|string|null $default = null, string|null $message = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$question | string | |
$choices | array | |
$default | bool|float|int|string|null | |
$message | string|null |
multiChoice
protected multiChoice(string $question, array $choices, bool|float|int|string|null $default = null, string|null $message = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$question | string | |
$choices | array | |
$default | bool|float|int|string|null | |
$message | string|null |
Automatically generated on 2025-10-13