IRange
in
IP Range (IPv4 or IPv6)
Tags
Table of Contents
Methods
- __toString() : string
- Normalized IP range
- contains() : bool
- Check if an address is in the current range
- isValid() : bool
- Check if a given range is valid
Methods
__toString()
Normalized IP range
public
__toString() : string
Tags
Return values
stringcontains()
Check if an address is in the current range
public
contains(IAddress $address) : bool
Parameters
- $address : IAddress
Tags
Return values
boolisValid()
Check if a given range is valid
public
static isValid(string $range) : bool
Parameters
- $range : string