Hi,
my pleasure of course 🙂
and you know this travel between object and arrays is somehow natural when using pw api
everything is an object, pages, images, files, ... but, when using ->find, ->findMamy, it returns an array... of objects 😄 that's why when looping through the result arrays function/method are the good ones but, inside the loop, each element you get is... an object, thus the -> syntax, same thing actually as a repeater
afterwards, the nature of what you're feeding is up to you, array, object, string, open bar...
have a nice pw day 🙂