{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "php -r '\nrequire_once \"\/var\/www\/dev.campus.systemische-tools.de\/vendor\/autoload.php\";\nrequire_once \"\/var\/www\/dev.campus.systemische-tools.de\/config\/autoload.php\";\n\n$class = \"UseCases\\\\Pipeline\\\\RunPipelineUseCase\";\necho \"Class exists: \" . (class_exists($class) ? \"YES\" : \"NO\") . \"\\n\";\n\nif (class_exists($class)) {\n $reflection = new ReflectionClass($class);\n $constructor = $reflection->getConstructor();\n foreach ($constructor->getParameters() as $param) {\n $type = $param->getType();\n if ($type instanceof ReflectionNamedType) {\n echo \" Param: \" . $param->getName() . \" -> \" . $type->getName() . \"\\n\";\n }\n }\n}\n'",
"description": "Verify class loading works now"
}
}
{
"tool_response": {
"stdout": "Class exists: YES\n Param: repository -> Domain\\Repository\\PipelineRepositoryInterface",
"stderr": "",
"interrupted": false,
"isImage": false
}
}