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




``` Hack
public function getClasses(): vec<Facebook\HackCodegen\CodegenClassish>;
```




## Returns




* ` vec<Facebook\HackCodegen\CodegenClassish> `