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




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




## Parameters




- ` bool $value = true `




## Returns




+ ` this `