deployer = new \cPanelDeployer($secrets['cpanel']); $retcode = $this->deployer->start(); if ($retcode === true) { $url = $this->deployer->getUrl(); $this->getModule('PhpBrowser')->_reconfigure(array('url' => $url)); } } } public function _afterSuite() { $this->deployer->stop(); } }