Php/docs/gender-gender.construct
来自菜鸟教程
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.