yii\test\Fixture::unload PHP Метод

unload() публичный Метод

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

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