yii\test\Fixture::unload PHP Méthode

unload() public méthode

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

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