unload() public method

public unload ( )
コード例 #1
0
 /**
  * Unloads the fixture.
  *
  * The default implementation will clean up the table by calling [[resetTable()]].
  */
 public function unload()
 {
     $this->resetTable();
     parent::unload();
 }
コード例 #2
0
ファイル: ActiveFixture.php プロジェクト: sciurodont/yii2
 /**
  * Unloads the fixture.
  *
  * The default implementation will clean up the colection by calling [[resetCollection()]].
  */
 public function unload()
 {
     $this->resetCollection();
     parent::unload();
 }