ConsoleApplication
- Full name:
\Codefy\Framework\Console\ConsoleApplication
- Parent class:
Application
Properties
lastOutput
codefy
Methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$codefy | \Codefy\Framework\Application |
run
public run(?\Symfony\Component\Console\Input\InputInterface $input = null, ?\Symfony\Component\Console\Output\OutputInterface $output = null): int
Parameters:
Parameter | Type | Description |
---|---|---|
$input | ?\Symfony\Component\Console\Input\InputInterface | |
$output | ?\Symfony\Component\Console\Output\OutputInterface |
call
public call(mixed $command, array $parameters = [], bool|\Symfony\Component\Console\Output\OutputInterface|null $outputBuffer = null): int
Parameters:
Parameter | Type | Description |
---|---|---|
$command | mixed | |
$parameters | array | |
$outputBuffer | bool|\Symfony\Component\Console\Output\OutputInterface|null |
Throws:
parseCommand
Parse the incoming Codex command and its input.
Parameters:
Parameter | Type | Description |
---|---|---|
$command | string | |
$parameters | array |
output
Get the output for the last run command.
Automatically generated on 2025-10-13