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




Returns all the attributes defined on the class




``` Hack
protected function getExtraAttributes(): dict<string, vec<string>>;
```




## Returns




- ` dict<string, vec<string>> `