Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Phactory
Mongo
Phactory
setDb
Phactory\Mongo\Phactory::setDb PHP Method
Phactory Class Documentation
Datei anzeigen
Open project: chriskite/phactory
setDb()
public
method
* Set the Mongo object to use for database connection.
public
setDb
(
MongoDB
$db
)
$db
MongoDB
Mongo object
public function setDb(\MongoDB $db) { $this->_db = $db; }
Phactory
__construct
build
buildWithAssociations
create
createWithAssociations
define
defineBlueprint
embedsMany
embedsOne
get
getAll
getDb
recall
reset
setDb
setInflection