Kernel
- Full name:
\Codefy\Framework\Contracts\Console\Kernel
Methods
handle
Handle an incoming console command.
public handle(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface|null $output = null): int
Parameters:
Parameter | Type | Description |
---|---|---|
$input | \Symfony\Component\Console\Input\InputInterface | |
$output | \Symfony\Component\Console\Output\OutputInterface|null |
all
Gets all the commands registered.
output
Get the output for the last run command.
bootstrap
Bootstrap the console kernel.
call
Run a Codex console command by name.
public call(string $command, array $parameters = [], bool|\Symfony\Component\Console\Output\OutputInterface|null $outputBuffer = null): int
Parameters:
Parameter | Type | Description |
---|---|---|
$command | string | |
$parameters | array | |
$outputBuffer | bool|\Symfony\Component\Console\Output\OutputInterface|null |
Automatically generated on 2025-10-13