JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrmiddleNameMale(); } if ($gender === static::GENDER_FEMALE) { return $this->middleNameFemale(); } return $this->middleName(static::randomElement([ static::GENDER_MALE, static::GENDER_FEMALE, ])); } /** * Return last name for the specified gender. * * @param string|null $gender A gender of the last name should be generated * for. If the argument is skipped a random gender will be used. * * @return string Last name */ public function lastName($gender = null) { if (static::GENDER_FEMALE === $gender) { return $this->lastNameFemale(); } if (static::GENDER_MALE === $gender) { return $this->lastNameMale(); } return static::randomElement(static::$lastName) . static::randomElement(static::$lastNameSuffix); } public function lastNameMale(): string { return static::randomElement(static::$lastName); } public function lastNameFemale(): string { return static::randomElement(static::$lastName) . 'а'; } }