getCollection() public method

Get collection from previously selected database by self::useDatabase()
public getCollection ( string $name ) : Collection
$name string
return Collection
 /**
  * 
  * @param string $name
  * @return \Sokil\Mongo\Collection
  */
 protected function getCollection($name)
 {
     return $this->client->getCollection($name);
 }