function DrupalStreamWrapperInterface::realpath

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

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.

1 method overrides DrupalStreamWrapperInterface::realpath()
DrupalLocalStreamWrapper::realpath in includes/stream_wrappers.inc
Base implementation of realpath().

File

includes/stream_wrappers.inc, line 202

Class

DrupalStreamWrapperInterface
Drupal stream wrapper extension.

Code

public function realpath();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.