yii\test\Fixture::unload PHP Method

unload() public method

This method is called after every test method finishes. You may override this method to perform necessary cleanup work for the fixture.
public unload ( )
    public function unload()
    {
    }

Usage Example

Beispiel #1
0
 /**
  * @inheritdoc
  */
 public function unload()
 {
     parent::unload();
     $this->data = [];
 }