You are here

public function PhpStreamWrapperInterface::stream_close in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::stream_close()

Closes stream.

This method is called in response to fclose(). All resources that were locked, or allocated, by the wrapper should be released.

See also

fclose()

PhpStreamWrapperInterface::dir_closedir()

http://php.net/manual/en/streamwrapper.stream-close.php

1 method overrides PhpStreamWrapperInterface::stream_close()
LocalStream::stream_close in core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Closes stream.

File

core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 183

Class

PhpStreamWrapperInterface
Defines a generic PHP stream wrapper interface.

Namespace

Drupal\Core\StreamWrapper

Code

public function stream_close();