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




``` Hack
final public function addEmptyUserAttribute(
  string $name,
): this;
```




## Parameters




* ` string $name `




## Returns




- ` this `