Change private to public function GeoIP::getAll()