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();
    }