function SessionStreamWrapper::stream_close
Support for fclose().
Return value
bool TRUE if stream was successfully closed.
Overrides PhpStreamWrapperInterface::stream_close
See also
http://php.net/manual/en/streamwrapper.stream-close.php
File
- 
              modules/
stream_wrapper_example/ src/ StreamWrapper/ SessionStreamWrapper.php, line 589  
Class
- SessionStreamWrapper
 - Example stream wrapper class to handle session:// streams.
 
Namespace
Drupal\stream_wrapper_example\StreamWrapperCode
public function stream_close() {
  // @codingStandardsIgnoreEnd
  $this->streamPointer = 0;
  // Unassign the reference.
  unset($this->sessionContent);
  return TRUE;
}