function validateBoolean($value) { //StringConverter only produces booleans valid for PHP //You may want to override this if your database can not handle some return null; }