Hello,
from you example:
foreach ($vehicles as $v) {
echo sprintf("%s - %s\n", $v->name, $v->url);
foreach ( $v->films as $film) {
// code?
echo $film->title;
}
}
Film title on right is not populated. What's the best manner to fill object by $film->url ?
My idea is separate id from url and use it in FilmEndpoint get method. Is there another clean way?
Thanks for you work!
Hello,
from you example:
Film title on right is not populated. What's the best manner to fill object by $film->url ?
My idea is separate id from url and use it in FilmEndpoint get method. Is there another clean way?
Thanks for you work!