public getCollection ( string $name ) : |
||
$name | string | |
return |
public function getCollection($name)
{
return $this->getDatabase($this->getCurrentDatabaseName())->getCollection($name);
}
/** * * @param string $name * @return \Sokil\Mongo\Collection */ protected function getCollection($name) { return $this->client->getCollection($name); }