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 = [];
 }