ArrayList<String> controllerNames = findFileControllerDocBlocks((TwigFile) psiFile);
if(controllerNames.size() == 0) {
return;
}
ControllerIndex controllerIndex = new ControllerIndex(parameter.getProject());
for(String controllerName: controllerNames) {
Method method = controllerIndex.resolveShortcutName(controllerName);
if(method != null) {
variables.putAll(PhpMethodVariableResolveUtil.collectMethodVariables(method));
}
}