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

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