PHP Class PHPDaemon\Clients\Mongo\MongoId

Author: Vasily Zorin ([email protected])
Inheritance: extends MongoId
Show file Open project: kakserpom/phpdaemon Class Usage Examples

Public Methods

Method Description
__construct ( string $id = null )
__toString ( ) : string __toString
getPlainObject ( ) : MongoId getPlainObject
import ( mixed $id ) : mixed Import
toHex ( ) : string toHex

Method Details

__construct() public method

public __construct ( string $id = null )
$id string

__toString() public method

__toString
public __toString ( ) : string
return string

getPlainObject() public method

getPlainObject
public getPlainObject ( ) : MongoId
return MongoId

import() public static method

Import
public static import ( mixed $id ) : mixed
$id mixed ID
return mixed

toHex() public method

toHex
public toHex ( ) : string
return string