Свойство | Type | Description | |
---|---|---|---|
$loggerCallable | callable | The logger callable. |
Méthode | Description | |
---|---|---|
__construct ( |
Constructor. | |
authenticate ( $username, $password ) | ||
command ( array $data, array $options = [], &$hash = null ) | ||
createCollection ( $name, $cappedOrOptions = false, $size, $max ) | ||
drop ( ) | ||
execute ( $code, array $args = [] ) | ||
getDBRef ( array $ref ) | ||
log ( array $log ) | Log something using the configured logger callable. |
Méthode | Description | |
---|---|---|
doGetGridFS ( $prefix ) | ||
doSelectCollection ( string $name ) : Doctrine\MongoDB\LoggableCollection | Return a new LoggableCollection instance. |
public __construct ( |
||
$connection | Connection used to create Collections | |
$mongoDB | MongoDB | MongoDB instance being wrapped |
$evm | Doctrine\Common\EventManager | EventManager instance |
$numRetries | integer | Number of times to retry queries |
$loggerCallable | callable | The logger callable |
public createCollection ( $name, $cappedOrOptions = false, $size, $max ) |
protected doSelectCollection ( string $name ) : Doctrine\MongoDB\LoggableCollection | ||
$name | string | |
Résultat | Doctrine\MongoDB\LoggableCollection |
protected callable $loggerCallable | ||
Résultat | callable |