public function prepareAllPersons($from = null, $limit = null, $protoFilter = null) { $app = new \geneweb\api\object\AllPersonsParams(); if ($from != null) { $app->setFrom((int) $from); } if ($limit != null) { $app->setLimit((int) $limit); } return $this->prepareRequest("ALL_PERSONS", $app, $this->getClassname('ListPersons'), $protoFilter); }