Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
yii
mongodb
ActiveFixture
resetCollection
yii\mongodb\ActiveFixture::resetCollection PHP Method
ActiveFixture Class Documentation
Mostra 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