app/Functions/Functions.php
private static function reflexivePronoun(Individual $individual): string
    {
        switch ($individual->sex()) {
            case 'M':
                /* I18N: reflexive pronoun */
                return I18N::translate('himself');
            case 'F':
                /* I18N: reflexive pronoun */
                return I18N::translate('herself');
            default:
                /* I18N: reflexive pronoun - gender neutral version of himself/herself */
                return I18N::translate('themself');
        }
    }
private static function reflexivePronoun(Individual $individual): string
    {
        switch ($individual->sex()) {
            case 'M':
                /* I18N: reflexive pronoun */
                return I18N::translate('himself');
            case 'F':
                /* I18N: reflexive pronoun */
                return I18N::translate('herself');
            default:
                /* I18N: reflexive pronoun - gender neutral version of himself/herself */
                return I18N::translate('themself');
        }
    }
private static function reflexivePronoun ( Individual $ individual ) : string { switch ( $ individual -> sex ( ) ) { case 'M' : /* I18N: reflexive pronoun */ return I18N :: translate ( 'himself' ) ; case 'F' : /* I18N: reflexive pronoun */ return I18N :: translate ( 'herself' ) ; default : /* I18N: reflexive pronoun - gender neutral version of himself/herself */ return I18N :: translate ( 'themself' ) ; } }
Generate a reflexive pronoun for an individual

@param Individual $individual

@return string
Generate a reflexive pronoun for an individual