yii\mongodb\ActiveFixture::getCollection PHP Method

getCollection() protected method

Returns collection used by this fixture.
protected getCollection ( ) : Collection
return Collection related collection.
    protected function getCollection()
    {
        return $this->db->getCollection($this->getCollectionName());
    }