A PHP representation of the CQL inet datatype

Implements

Methods

__construct

( string $address )

Creates a new IPv4 or IPv6 inet address.

Parameters:
Name Type Details
$address string

any IPv4 or IPv6 address

string

__toString

( )

Returns the normalized string representation of the address.

Returns:
Type Details
string

address

Dse\Type

type

( )

The type of this inet.

Returns:
Type Details
Dse\Type
string

address

( )

Returns the normalized string representation of the address.

Returns:
Type Details
string

address