PHP Class MongoInt64

ファイルを表示 Open project: alcaeus/mongo-php-adapter Class Usage Examples

Public Properties

Property Type Description
$value string

Public Methods

Method Description
__construct ( string $value ) Creates a new 64-bit number with the given value.
__toString ( ) : string
toBSONType ( ) : integer Converts this MongoInt64 to a native integer

Method Details

__construct() public method

Creates a new 64-bit number with the given value.
public __construct ( string $value )
$value string A number

__toString() public method

public __toString ( ) : string
return string

toBSONType() public method

Converts this MongoInt64 to a native integer
public toBSONType ( ) : integer
return integer

Property Details

$value public_oe property

public string $value
return string