Method | Description | |
---|---|---|
__construct ( array $index ) | Constructor. | |
__toString ( ) | Return the index name. | |
bsonSerialize ( ) : array | Serialize the index information to BSON for index creation. |
public __construct ( array $index ) | ||
$index | array | Index specification |
public bsonSerialize ( ) : array | ||
return | array |