src/Module.php
public function _after(TestInterface $test)
    {
        if ($this->sessionStatus() === PHP_SESSION_ACTIVE) {
            $this->sessionDestroy();
        }

        if (isset($this->client) && $this->client instanceof Connector) {
            $this->client->reset();
            
            if (isset($this->baseRequest)) {
                $this->baseRequest = $this->client->getBaseRequest();
            }
            
            if (isset($this->baseResponse)) {
                $this->baseResponse = $this->client->getBaseResponse();
            }
        }

        parent::_after($test);
    }
public function _after(TestInterface $test)
    {
        if ($this->sessionStatus() === PHP_SESSION_ACTIVE) {
            $this->sessionDestroy();
        }

        if (isset($this->client) && $this->client instanceof Connector) {
            $this->client->reset();
            
            if (isset($this->baseRequest)) {
                $this->baseRequest = $this->client->getBaseRequest();
            }
            
            if (isset($this->baseResponse)) {
                $this->baseResponse = $this->client->getBaseResponse();
            }
        }

        parent::_after($test);
    }
public function _after ( TestInterface $ test ) { if ( $ this -> sessionStatus ( ) === PHP_SESSION_ACTIVE ) { $ this -> sessionDestroy ( ) ; } if ( isset ( $ this -> client ) && $ this -> client instanceof Connector ) { $ this -> client -> reset ( ) ; if ( isset ( $ this -> baseRequest ) ) { $ this -> baseRequest = $ this -> client -> getBaseRequest ( ) ; } if ( isset ( $ this -> baseResponse ) ) { $ this -> baseResponse = $ this -> client -> getBaseResponse ( ) ; } } parent :: _after ( $ test ) ; }
After each test

@param TestInterface $test
After each test