Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace Drupal\visitors;
4
5/**
6 * Interface for rebuilding Ip Address.
7 */
8interface VisitorsRebuildIpAddressInterface {
9
10  /**
11   * Rebuilds Ip Address formats.
12   *
13   * The previous IP address only supported IPv4. This method will rebuild the
14   * IP address to support IPv6.
15   *
16   * @return int
17   *   The number of rows updated.
18   */
19  public function rebuild(string $ip_address): int;
20
21  /**
22   * Gets distinct IP addresses to be rebuilt.
23   *
24   * @return array
25   *   The IP addresses.
26   */
27  public function getIpAddresses(): array;
28
29}