1 file_example_session_streams.inc public FileExampleSessionStreamWrapper::realpath()

Implements realpath().

Overrides BackdropStreamWrapperInterface::realpath

File

modules/examples/file_example/file_example_session_streams.inc, line 184
Provides a demonstration session:// streamwrapper.

Class

FileExampleSessionStreamWrapper
Example stream wrapper class to handle session:// streams.

Code

public function realpath() {
  return 'session://' . $this->getLocalPath();
}