Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach($house->getPersons() as $person){
- $person->getDogs();
- // Do something with each dog
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement