Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo::getCollection PHP Method

getCollection() public method

Get the collection this Document is mapped to.
public getCollection ( ) : string
return string $collection The collection name.
    public function getCollection()
    {
        return $this->collection;
    }
ClassMetadataInfo