You are here

function autoload_namespace_to_path in Autoload 7

Transform namespace path to file system path.

Parameters

string $namespace: Input namespace.

Return value

string Processed string.

2 calls to autoload_namespace_to_path()
autoload_paths in ./autoload.module
Collect autoloading maps.
AuxiliaryTest::test in src/Tests/Unit/AuxiliaryTest.php
Unit tests for auxiliary functions.

File

./autoload.module, line 227

Code

function autoload_namespace_to_path($namespace) {
  return str_replace('\\', '/', $namespace);
}