yii\sphinx\ActiveFixture::resetIndex PHP 메소드

resetIndex() 보호된 메소드

This method is called before populating fixture data into the index associated with this fixture.
protected resetIndex ( )
    protected function resetIndex()
    {
        $index = $this->getIndexSchema();
        $this->db->createCommand()->truncateIndex($index->name)->execute();
    }