File "IpAddressInterface.php"

Full Path: /home/itfekxul/theolympicssports.com/wp-content/plugins/wordfence/vendor/wordfence/mmdb-reader/src/IpAddressInterface.php
File size: 497 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Wordfence\MmdbReader;

interface IpAddressInterface {

	/**
	 * Get the human-readable (presentation format) version of the address
	 * @return string
	 * @see inet_ntop
	 */
	public function getHumanReadable();

	/**
	 * Get the binary (network format) version of the address
	 * @return string
	 * @see inet_pton
	 */
	public function getBinary();

	/**
	 * Get the type of the address (IPv4 or IPv6)
	 * @return int 4 for IPv4 and 6 for IPv6
	 */
	public function getType();

}