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




``` Hack
private function getFunctionDeclaration(): string;
```




## Returns




- ` string `