private function getMethodCall() { return sprintf('%s%s%s(%s);', $this->getReturnVariables(), $this->newMethod->isStatic() ? 'self::' : '$this->', $this->newMethod->getName(), $this->createVariableList($this->newMethod->arguments())); }
/** * @return string */ private function getNewMethodSignatureString() { return sprintf('private %sfunction %s(%s)', $this->newMethod->isStatic() ? 'static ' : '', $this->newMethod->getName(), $this->createVariableList($this->newMethod->arguments())); }