Class MongoDbResourceManager

Summary

Fully Qualified Name: Zend\Cache\Storage\Adapter\MongoDbResourceManager

Description

Methods

Name Description Defined By
getCollection() MongoDbResourceManager
getConnectionOptions() MongoDbResourceManager
getDatabase() MongoDbResourceManager
getDriverOptions() MongoDbResourceManager
getResource() Instantiate and return the MongoCollection resource MongoDbResourceManager
getServer() MongoDbResourceManager
hasResource() Check if a resource exists MongoDbResourceManager
setCollection() MongoDbResourceManager
setConnectionOptions() MongoDbResourceManager
setDatabase() MongoDbResourceManager
setDriverOptions() MongoDbResourceManager
setResource() Set a resource MongoDbResourceManager
setServer() MongoDbResourceManager

Method Details

getCollection()

Parameter Name Type Description
$id

Returns: void

getConnectionOptions()

Parameter Name Type Description
$id

Returns: void

getDatabase()

Parameter Name Type Description
$id

Returns: void

getDriverOptions()

Parameter Name Type Description
$id

Returns: void

getResource()

Instantiate and return the MongoCollection resource

Parameter Name Type Description
$id string

Returns: \MongoCollection

getServer()

Parameter Name Type Description
$id

Returns: void

hasResource()

Check if a resource exists

Parameter Name Type Description
$id string

Returns: bool

setCollection()

Parameter Name Type Description
$id
$collection

Returns: void

setConnectionOptions()

Parameter Name Type Description
$id
$connectionOptions

Returns: void

setDatabase()

Parameter Name Type Description
$id
$database

Returns: void

setDriverOptions()

Parameter Name Type Description
$id
$driverOptions

Returns: void

setResource()

Set a resource

Parameter Name Type Description
$id string
$resource array|\MongoCollection

Returns: \MongoDbResourceManager Provides a fluent interface

setServer()

Parameter Name Type Description
$id
$server

Returns: void

Top