A PHP representation of the CQL inet datatype

Methods

__construct

( string $address )

Creates a new IPv4 or IPv6 inet address.

Parameters:
Name Type Details
$address string

any IPv4 or IPv6 address

string

address

( )

Returns the normalized string representation of the address.

Returns:
Type Details
string

address

string

__toString

( )

Returns the normalized string representation of the address.

Returns:
Type Details
string

address