PHP Class Cassandra\Inet

Inheritance: implements cassandra\Value
Afficher le fichier Open project: datastax/php-driver

Méthodes publiques

Méthode Description
__construct ( string $address ) Creates a new IPv4 or IPv6 inet address.
__toString ( ) : string Returns the normalized string representation of the address.
address ( ) : string Returns the normalized string representation of the address.
type ( ) : cassandra\Type The type of this inet.

Method Details

__construct() public méthode

Creates a new IPv4 or IPv6 inet address.
public __construct ( string $address )
$address string any IPv4 or IPv6 address

__toString() public méthode

Returns the normalized string representation of the address.
public __toString ( ) : string
Résultat string address

address() public méthode

Returns the normalized string representation of the address.
public address ( ) : string
Résultat string address

type() public méthode

The type of this inet.
public type ( ) : cassandra\Type
Résultat cassandra\Type