CodeExplorer TestCause example
}/**
* @internal
*/
#[Package('command')]
class TestCommand extends Command
{ protected function execute(InputInterface
$input, OutputInterface
$output): int
{ $testCause =
new TestCause();
$testCause->
throw(new TestException('test'
));
return Command::SUCCESS;
}}/**
* @internal
*/
#[Package('command')]
class TestNestedCommand extends Command
{