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




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




## Parameters




- ` bool $value = true `




## Returns




+ ` this `