<?php require_once '../config/config.php'; use bfw\entities\TUser; $tuser = new TUser(); $users = $tuser->findAll(); foreach ($users as $user) { printf("Benutzer: %s %s", $user->getFirstname(), $user->getUsername()); }