public function find()
{
$repositories = array();
$page = $counter = 0;
do {
++$page;
$results = $this->findPage($page);
if (0 === count($results)) {
break;
}
foreach ($results as $result) {
if (!in_array($result, $repositories)) {
++$counter;
$repositories[] = $result;
}
}
} while ($counter < $this->limit);
return array_slice($repositories, 0, $this->limit);
}