public function getAllFamilies($from = null, $limit = null) { $afp = new \geneweb\api\object\AllFamiliesParams(); if ($from != null) { $afp->setFrom((int) $from); } if ($limit != null) { $afp->setLimit((int) $limit); } return $this->request("ALL_FAMILIES", $afp, $this->getClassname('ListFullFamilies')); }