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




``` Hack
private function getContent(): string;
```




## Returns




- ` string `