프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$loggerCallable | callable | The logger callable. |
메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
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 |
protected doSelectCollection ( string $name ) : Doctrine\MongoDB\LoggableCollection | ||
$name | string | |
리턴 | Doctrine\MongoDB\LoggableCollection |