You are here

public function HttpStreamWrapper::realpath in Remote Stream Wrapper 8

Returns canonical, absolute path of the resource.

Implementation placeholder. PHP's realpath() does not support stream wrappers. We provide this as a default so that individual wrappers may implement their own solutions.

Return value

string Returns a string with absolute pathname on success (implemented by core wrappers), or FALSE on failure or if the registered wrapper does not provide an implementation.

Overrides StreamWrapperInterface::realpath

File

src/StreamWrapper/HttpStreamWrapper.php, line 81

Class

HttpStreamWrapper
HTTP(s) stream wrapper.

Namespace

Drupal\remote_stream_wrapper\StreamWrapper

Code

public function realpath() {
  return FALSE;
}