function PhpStreamWrapperInterface::stream_close
Same name in other branches
- 9 core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::stream_close()
- 8.9.x core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::stream_close()
- 10 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
2 methods override PhpStreamWrapperInterface::stream_close()
- DummyExternalReadOnlyWrapper::stream_close in core/
modules/ file/ tests/ file_test/ src/ StreamWrapper/ DummyExternalReadOnlyWrapper.php - Closes stream.
- 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\StreamWrapperCode
public function stream_close();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.