| 1 | <?php |
||
| 10 | class GeoIPReaderAdapterStub implements ReaderInterface |
||
| 11 | { |
||
| 12 | private const LOCALHOST = '127.0.0.1'; |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | protected static $country = ''; |
||
| 16 | |||
| 17 | /** @var string */ |
||
| 18 | protected static $state = ''; |
||
| 19 | |||
| 20 | public function getCountry(string $ipAddress): string |
||
| 28 | |||
| 29 | public function getState(string $ipAddress): string |
||
| 37 | |||
| 38 | public function setCountry(string $country): void |
||
| 42 | |||
| 43 | public function setState(string $state): void |
||
| 47 | } |
||
| 48 |