Novive: How to extract data?

Example: I have one city, which have mane buildinds and each building have many citizens

In the view, I apend as in manual using foreach to display the buildings but how I can display also the citizens after each building?
(I set recursive=2 in the controller, also I see the data in the debug menu/variable but I don’t know how to apend it, I may be stupid, yes)

foreach $buildings as $building:
echo $building[‘Building’][‘name’];
foreach (What I should put here?) as (What I should put here?)
echo "citizen"
end foreach;
end foreach

Thanks!

Which version of CakePHP are you using ? in 3.x, “recursive” has been removed (Cake3 migration guide and the article on How to retrieve data)