Gender\Gender::similarNames

(PECL gender >= 0.9.0)

Gender\Gender::similarNamesGet similar names

Descrição

public Gender\Gender::similarNames(string $name, int $country = ?): array

Get similar names for the given name and country.

Parâmetros

name

Name to check.

country

Country id identified by Gender class constant. If ommited ANY_COUNTRY is used.

Valor Retornado

Returns an array with the similar names found.