public function FnStream::__destruct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/src/FnStream.php \GuzzleHttp\Psr7\FnStream::__destruct()
 
The close method is called on the underlying stream only if possible.
File
- vendor/
guzzlehttp/ psr7/ src/ FnStream.php, line 48  
Class
- FnStream
 - Compose stream implementations based on a hash of functions.
 
Namespace
GuzzleHttp\Psr7Code
public function __destruct() {
  if (isset($this->_fn_close)) {
    call_user_func($this->_fn_close);
  }
}