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




``` Hack
public function setInterfaces(
      Traversable<Facebook\HackCodegen\CodegenImplementsInterface> $value,
): this;
```




## Parameters




* ` Traversable<Facebook\HackCodegen\CodegenImplementsInterface> $value `




## Returns




- ` this `