Since: 1.5.0

final class Int64 implements Type, JsonSerializable, Stringable (View source)

BSON type for a 64-bit integer.

Methods

__construct(string|int $value)

No description

static Int64
__set_state(array $properties)

No description

mixed
jsonSerialize()

Returns a representation that can be converted to JSON

string
__toString()

Returns the Symbol as a string

Details

final __construct(string|int $value)

Since: 1.16.0

No description

Parameters

string|int $value

static Int64 __set_state(array $properties)

No description

Parameters

array $properties

Return Value

Int64

final mixed jsonSerialize()

Returns a representation that can be converted to JSON

Return Value

mixed

data which can be serialized by json_encode, which is a value of any type other than a resource.

Exceptions

InvalidArgumentException

final string __toString()

Returns the Symbol as a string

Return Value

string

Returns string representation of the object that implements this interface (and/or "__toString" magic method).