protected function WebTestBase::curlClose in Drupal 8
Close the cURL handler and unset the handler.
1 call to WebTestBase::curlClose()
- WebTestBase::tearDown in core/
modules/ simpletest/ src/ WebTestBase.php - Cleans up after testing.
File
- core/
modules/ simpletest/ src/ WebTestBase.php, line 746
Class
- WebTestBase
- Test case for typical Drupal tests.
Namespace
Drupal\simpletestCode
protected function curlClose() {
if (isset($this->curlHandle)) {
curl_close($this->curlHandle);
unset($this->curlHandle);
}
}