You are here

public static function vfsStream::url in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStream.php \org\bovigo\vfs\vfsStream::url()

prepends the scheme to the given URL

Parameters

string $path path to translate to vfsStream url:

Return value

string

148 calls to vfsStream::url()
DirectoryIterationTestCase::recursiveDirectoryIterationWithDotsDisabled in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php
@test @group issue_50
DirectoryIterationTestCase::recursiveDirectoryIterationWithDotsEnabled in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php
@test @group issue_50
DrupalComponentTest::testAssertNoCoreUseage in core/tests/Drupal/Tests/Component/DrupalComponentTest.php
@covers \Drupal\Tests\Component\DrupalComponentTest::assertNoCoreUsage @dataProvider providerAssertNoCoreUseage
InfoParserUnitTest::testInfoParserBroken in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Test if correct exception is thrown for a broken info file.
InfoParserUnitTest::testInfoParserCommonInfo in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Tests common info file.

... See full list

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStream.php, line 67

Class

vfsStream
Some utility methods for vfsStream.

Namespace

org\bovigo\vfs

Code

public static function url($path) {
  return self::SCHEME . '://' . str_replace('\\', '/', $path);
}