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




``` Hack
public function addMethods(
  Traversable<Facebook\HackCodegen\CodegenMethod> $methods,
): this;
```




## Parameters




+ ` Traversable<Facebook\HackCodegen\CodegenMethod> $methods `




## Returns




* ` this `