You can clone with
HTTPS or Subversion.
I have a field in my database called hash_tags, but when the hydrator gets loaded from ClassMethods, it always skips adding this field to the returned attributes array.
It looks like it's filtering out the word has. I've had to take a hackish away around this in order to get it to work.
Yes you seems to be right that it only checks if the 3 first letters are "has". https://github.com/zendframework/zf2/blob/master/library/Zend/Stdlib/Hydrator/Filter/HasFilter.php#L23
This is a pretty primitive check to be honest ôÔ. I don't really understand how filters work to be honest (and why they are including by default in the ClassMethods hydrator ?).
Ping @weierophinney , this may be a pretty annoying issue that we should solve for 2.2.
How about a check if the first letter after 'has' is uppercase?
hash_tag would result to false
hasFoo would result to true