update 20.10.2025

This commit is contained in:
Kevin Adametz 2025-10-20 17:42:08 +02:00
parent 8c11130b5d
commit a939cd51ef
616 changed files with 84821 additions and 4121 deletions

View file

@ -0,0 +1,31 @@
<?php
namespace App\Services\IPinfo\cache;
/**
* Interface for caches used to store IP data between requests.
*/
interface CacheInterface
{
/**
* Tests if the specified IP address is cached.
* @param string $ip_address IP address to lookup.
* @return boolean Is the IP address data in the cache.
*/
public function has(string $ip_address);
/**
* Set the IP address key to the specified value.
* @param string $ip_address IP address to cache data for.
* @param mixed $value Data for specified IP address.
*/
public function set(string $ip_address, $value);
/**
* Get data for the specified IP address.
* @param string $ip_address IP address to lookup in cache.
* @return mixed IP address data.
*/
public function get(string $ip_address);
}