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




``` Hack
public function addProperties(
  Traversable<Facebook\HackCodegen\CodegenProperty> $vars,
): this;
```




## Parameters




- ` Traversable<Facebook\HackCodegen\CodegenProperty> $vars `




## Returns




+ ` this `