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




``` Hack
public function getFunctions(): vec<Facebook\HackCodegen\CodegenFunction>;
```




## Returns




- ` vec<Facebook\HackCodegen\CodegenFunction> `