---
layout: docs
title: getImplements
id: trait.Facebook.HackCodegen.CodegenClassWithInterfaces.getImplements
docid: trait.Facebook.HackCodegen.CodegenClassWithInterfaces.getImplements
permalink: /docs/reference/trait.Facebook.HackCodegen.CodegenClassWithInterfaces.getImplements/
---
# Facebook\\HackCodegen\\CodegenClassWithInterfaces::getImplements()




Return the list of interfaces implemented by the generated class




``` Hack
public function getImplements(): vec<string>;
```




## Returns




* ` vec<string> `