
| Current Path : /var/www/html/rocksensor/web/modules/contrib/visitors/src/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor/web/modules/contrib/visitors/src/VisitorsRebuildIpAddressInterface.php |
<?php
namespace Drupal\visitors;
/**
* Interface for rebuilding Ip Address.
*/
interface VisitorsRebuildIpAddressInterface {
/**
* Rebuilds Ip Address formats.
*
* The previous IP address only supported IPv4. This method will rebuild the
* IP address to support IPv6.
*
* @return int
* The number of rows updated.
*/
public function rebuild(string $ip_address): int;
/**
* Gets distinct IP addresses to be rebuilt.
*
* @return array
* The IP addresses.
*/
public function getIpAddresses(): array;
}