for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PierInfor\GeoLite;
class Sample extends Ip
{
public function __construct($locales = ['fr'])
parent::__construct($locales);
}
public function byCities(int $colSort = 1): Ip
try {
$this
->setAdapter(self::ADAPTER_COUNTRY)
->process()
->sort($colSort);
} catch (\Exception $e) {
echo $e->getMessage();
return $this;
public function byCountries(int $colSort = 1): Ip
->setAdapter(self::ADAPTER_CITY)