You can find all sorts of things in the source code of our project. The value() method of Sex and Sex fromValue(), and in a neighbouring file, protected Sex, are particularly delightful. (just so you know – this is how the client’s gender is saved, which is represented on the frontend by a “Mr/Ms” select box)


