function vfsStream::url
prepends the scheme to the given URL
Parameters
string $path path to translate to vfsStream url:
Return value
string
1 call to vfsStream::url()
- vfsStreamAbstractContent::url in vendor/
mikey179/ vfsstream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamAbstractContent.php - returns complete vfsStream url for this content
File
-
vendor/
mikey179/ vfsstream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStream.php, line 68
Class
- vfsStream
- Some utility methods for vfsStream.
Namespace
org\bovigo\vfsCode
public static function url($path) {
return self::SCHEME . '://' . join('/', array_map('rawurlencode', explode('/', str_replace('\\', '/', $path))));
}