Both functions getEntry() and getProperty() work by now only with arrays (or ArrayAccess instances) but not with object, even if getProperty() make me think of an object field access.
Moreover, both functions are very similar, acually as of now getProperty() is just a subset of getEntry() I think one should be removed. This is a BC break, but being this lib in a zero-point release state, that should not be a problem.
Finally, getProperty() return an unexpected null when given argument is an array, IMO in that case the function should throw an exception instead.
Both functions
getEntry()andgetProperty()work by now only with arrays (orArrayAccessinstances) but not with object, even ifgetProperty()make me think of an object field access.Moreover, both functions are very similar, acually as of now
getProperty()is just a subset ofgetEntry()I think one should be removed. This is a BC break, but being this lib in a zero-point release state, that should not be a problem.Finally,
getProperty()return an unexpectednullwhen given argument is an array, IMO in that case the function should throw an exception instead.