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




``` Hack
public function __construct(
  string $code,
);
```




## Parameters




* ` string $code `