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




``` Hack
public function setIsStatic(
  bool $value = true,
): this;
```




## Parameters




+ ` bool $value = true `




## Returns




* ` this `