I think I have found a solution thanks to the source code:
<?php
$galleryImages = new Collection();
foreach ($galleryChilds as $c) {
foreach ($c->images() as $i) {
$galleryImages->data[] = $i;
}
}
?>
I think I have found a solution thanks to the source code:
<?php
$galleryImages = new Collection();
foreach ($galleryChilds as $c) {
foreach ($c->images() as $i) {
$galleryImages->data[] = $i;
}
}
?>