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




``` Hack
public function __construct(
  string $name,
  mixed $type,
);
```




## Parameters




- ` string $name `
- ` mixed $type `