yii\test\BaseActiveFixture::unload PHP Method

unload() public method

public unload ( )
    public function unload()
    {
        parent::unload();
        $this->data = [];
        $this->_models = [];
    }

Usage Example

 /**
  * Unloads the fixture.
  *
  * The default implementation will clean up the table by calling [[resetTable()]].
  */
 public function unload()
 {
     $this->resetTable();
     parent::unload();
 }
All Usage Examples Of yii\test\BaseActiveFixture::unload