yii\mongodb\ActiveFixture::resetCollection PHP Метод

resetCollection() защищенный Метод

This method is called before populating fixture data into the collection associated with this fixture.
protected resetCollection ( )
    protected function resetCollection()
    {
        $this->getCollection()->remove();
    }