in the docs I read this:
$items = $pages->listed();
In all the Kirby code I looked - in the example files or the code that was given to me here - there has never been such a declaration.
Are the real world examples written in a shorthand version because they miss that declaration.
For example in this loop for a blog article there is no such declaration of a variable first, but rather at the end of the line with that “as”:
<?php foreach($page->children()->listed()->limit(20) as $blogarticle): ?>
Or am I getting this wrong?