Webiny\Component\Mongo\Bridge\MongoInterface::getNamespace PHP Method

getNamespace() public method

Return the collection namespace.
See also: http://docs.mongodb.org/manual/faq/developers/#faq-dev-namespace
public getNamespace ( string $collectionName ) : string
$collectionName string
return string
    public function getNamespace($collectionName);

Usage Example

Example #1
0
 public function getNamespace($collectionName)
 {
     return $this->bridge->getNamespace($this->cName($collectionName));
 }