/** * * @param <User> $user * @return <Array> */ public function getInventory(User $user) { $inventoryDao = new InventoryDAO(); $inventoryList = $inventoryDao->getInventory($user); return $inventoryList; }