PHP Class MongoInt32

Inheritance: implements Alcaeus\MongoDbAdapter\TypeInterface
Afficher le fichier Open project: alcaeus/mongo-php-adapter Class Usage Examples

Méthodes publiques

Свойство Type Description
$value string

Méthodes publiques

Méthode Description
__construct ( string $value ) Creates a new 32-bit number with the given value.
__toString ( ) : string
toBSONType ( ) : integer Converts this MongoInt32 to a native integer

Method Details

__construct() public méthode

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

__toString() public méthode

public __toString ( ) : string
Résultat string

toBSONType() public méthode

Converts this MongoInt32 to a native integer
public toBSONType ( ) : integer
Résultat integer

Property Details

$value public_oe property

public string $value
Résultat string