---
layout: docs
title: __construct
id: class.Facebook.HackCodegen._Private.HackBuilderNativeKeyValueCollectionRenderer.__construct
docid: class.Facebook.HackCodegen._Private.HackBuilderNativeKeyValueCollectionRenderer.__construct
permalink: /docs/reference/class.Facebook.HackCodegen._Private.HackBuilderNativeKeyValueCollectionRenderer.__construct/
---
# Facebook\\HackCodegen\\_Private\\HackBuilderNativeKeyValueCollectionRenderer::__construct()




``` Hack
public function __construct(
  Facebook\HackCodegen\ContainerType $container,
  IHackBuilderKeyRenderer<Tk> $keyRenderer,
  IHackBuilderValueRenderer<Tv> $valueRenderer,
);
```




## Parameters




* ` Facebook\HackCodegen\ContainerType $container `
* ` IHackBuilderKeyRenderer<Tk> $keyRenderer `
* ` IHackBuilderValueRenderer<Tv> $valueRenderer `