public function getClientByID($id) { $db = $this->db; $client = new Client(); $client->queryClient($db, $id); return $client; }