private static function formatFunction(\ReflectionFunctionAbstract $reflector)
    {
        return \sprintf(
            '<keyword>function</keyword> %s<function>%s</function>(%s)',
            $reflector->returnsReference() ? '&' : '',
            self::formatName($reflector),
            \implode(', ', self::formatFunctionParams($reflector))
        );
    }
private static function formatFunction(\ReflectionFunctionAbstract $reflector)
    {
        return \sprintf(
            '<keyword>function</keyword> %s<function>%s</function>(%s)',
            $reflector->returnsReference() ? '&' : '',
            self::formatName($reflector),
            \implode(', ', self::formatFunctionParams($reflector))
        );
    }
private static function formatFunction ( \ ReflectionFunctionAbstract $ reflector ) { return \ sprintf ( '<keyword>function</keyword> %s<function>%s</function>(%s)' , $ reflector -> returnsReference ( ) ? '&' : '' , self :: formatName ( $ reflector ) , \ implode ( ', ' , self :: formatFunctionParams ( $ reflector ) ) ) ; }
Format a function signature.

@param \ReflectionFunction $reflector

@return string Formatted signature
Format a function signature .