---
layout: docs
title: codegenImplementsInterfaces
id: interface.Facebook.HackCodegen.ICodegenFactory.codegenImplementsInterfaces
docid: interface.Facebook.HackCodegen.ICodegenFactory.codegenImplementsInterfaces
permalink: /docs/reference/interface.Facebook.HackCodegen.ICodegenFactory.codegenImplementsInterfaces/
---
# Facebook\\HackCodegen\\ICodegenFactory::codegenImplementsInterfaces()




Generate declarations that a class implements the specified interfaces




``` Hack
public function codegenImplementsInterfaces(
      Traversable<string> $names,
): Traversable<Facebook\HackCodegen\CodegenImplementsInterface>;
```




## Parameters




+ ` Traversable<string> $names `




## Returns




* ` Traversable<Facebook\HackCodegen\CodegenImplementsInterface> `