protected function getFullSignature($name)
{
$interface = new ReflectionClass($this->interface);
$method = $interface->getMethod($name);
$reference = $method->returnsReference() ? '&' : '';
$static = $method->isStatic() ? 'static ' : '';
return "{$static}function {$reference}{$name}(" . implode(', ', $this->getParameterSignatures($method)) . ')';
}