function DummyFilesystem::addKnownDir in X Autoload 7.3
Parameters
string $dir:
1 call to DummyFilesystem::addKnownDir()
- DummyFilesystem::addKnownFile in tests/
Drupal/ xautoload/ Tests/ DummyFilesystem.php
File
- tests/
Drupal/ xautoload/ Tests/ DummyFilesystem.php, line 58
Class
Namespace
Drupal\xautoload\TestsCode
function addKnownDir($dir) {
if (FALSE === strpos($dir, '://')) {
return;
}
if (!isset($this->knownPaths[$dir])) {
// Need to set parents first.
$this
->addKnownDir(dirname($dir));
}
$this->knownPaths[$dir] = self::DIR;
}