return (bool) ($bundles[$bundleName] ?? false
);
} /**
* @param mixed[] $parameters
*/
private function runCommand(array
$parameters): string
{ $projectDir =
$this->
getProjectDir();
$getClassesCommand =
new GetClassesPerAreaCommand($projectDir);
$definition =
$getClassesCommand->
getDefinition();
$input =
new ArrayInput( $parameters,
$definition );
$input->
getOptions();
$output =
new BufferedOutput();
$refMethod = ReflectionHelper::
getMethod(GetClassesPerAreaCommand::
class, 'execute'
);
$refMethod->
invoke($getClassesCommand,
$input,
$output);