ZF-4619: isLocale needs changes related to BC problems
According to discussion of SL-13 isLocale needs to be slightly adpoted:
Solution: STATIC PROPERTY SET TO TRUE BUT THROWING A NOTICE WHEN TRUE... TRUE = OLD BEHAVIOUR, FALSE = NEW BEHAVIOUR
Information: There are several things to make sure. isXXX functions should generally only return boolean regarding to OOP and Coding Standard. Returning a object was a thing which I used to add for internal reasons. This is no longer needed as rerouting has been added so it is automatically be done by all I18N classes. Also there is another solution: We could add a static boolean option/property 'CREATE_LOCALE_ON_VALIDATION'. A simple note to set this property on true for old behaviour should be ok, shouldn't it ? Because returning an object on a boolean function is really a bad bad behaviour. And we should get rid of this false behaviour as soon as we can.