# Gender\Gender::__construct

(PECL gender >= 0.6.0)

Gender\Gender::__construct — Construct the Gender object

### 说明

public Gender\Gender::__construct(string `$dsn` = ?)

Create a Gender object optionally connecting to an external name dictionary. When no external database was given, compiled in data will be used.

### 参数

`dsn`
  DSN to open.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open