This works great... When there is more than one result
returned by the php service. So I get that this is because I am
using an ArrayCollection. Well then, how do you provide the
flexability to have 1, 1+n, or no results returned from the service
without chocking the "TypeError: Error #1034: Typre coercion
failed:..."? This just seems wacky.
Yea, this code works fine as long as there is more than one
<user> returned. If the service only returns 1 <user>
then it errors out. I would expect the ArrayCollection to just have
one object but that seems to not be the case.