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




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




## Parameters




+ ` bool $value = true `




## Returns




* ` this `