You are here

public function FlysystemBridge::realpath in Flysystem 2.0.x

Same name and namespace in other branches
  1. 8 src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::realpath()
  2. 7 src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::realpath()
  3. 3.x src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::realpath()
  4. 3.0.x src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::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

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/FlysystemBridge.php, line 73

Class

FlysystemBridge
An adapter for Flysystem to StreamWrapperInterface.

Namespace

Drupal\flysystem

Code

public function realpath() {
  return FALSE;
}