You are here

public function Stream::close in Auth0 Single Sign On 8.2

Closes the stream and any underlying resources.

Return value

void

Overrides StreamInterface::close

1 call to Stream::close()
Stream::__destruct in vendor/guzzlehttp/psr7/src/Stream.php
Closes the stream when the destructed

File

vendor/guzzlehttp/psr7/src/Stream.php, line 101

Class

Stream
PHP stream implementation.

Namespace

GuzzleHttp\Psr7

Code

public function close() {
  if (isset($this->stream)) {
    if (is_resource($this->stream)) {
      fclose($this->stream);
    }
    $this
      ->detach();
  }
}