protected function FlysystemPluginBase::getTarget in Flysystem 7
Returns the target file path of a URI.
Parameters
string $uri: The URI.
Return value
string The file path of the URI.
2 calls to FlysystemPluginBase::getTarget()
- FlysystemPluginBase::getExternalUrl in src/
Plugin/ FlysystemPluginBase.php - Returns a web accessible URL for the resource.
- Local::getExternalUrl in src/
Flysystem/ Local.php - Returns a web accessible URL for the resource.
File
- src/
Plugin/ FlysystemPluginBase.php, line 42 - Contains FlysystemPluginBase.
Class
- FlysystemPluginBase
- Base class for plugins.
Namespace
Drupal\flysystem\PluginCode
protected function getTarget($uri) {
return Util::normalizePath(substr($uri, strpos($uri, '://') + 3));
}