protected function buildCallParentMethodCode($fullClassName, $methodName)
{
if (!$this->reflectionService->hasMethod($fullClassName, $methodName)) {
return '';
}
if (count($this->reflectionService->getMethodParameters($this->fullOriginalClassName, $this->methodName)) > 0) {
return " call_user_func_array('parent::" . $methodName . "', \$arguments);\n";
} else {
return " parent::" . $methodName . "();\n";
}
}