Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
yii
mongodb
ActiveFixture
resetCollection
yii\mongodb\ActiveFixture::resetCollection PHP Method
ActiveFixture Class Documentation
Show file
Open project: yiisoft/yii2-mongodb
resetCollection()
protected
method
This method is called before populating fixture data into the collection associated with this fixture.
protected
resetCollection
( )
protected function resetCollection() { $this->getCollection()->remove(); }
ActiveFixture
getCollection
getCollectionName
getData
init
load
resetCollection