protected function ClassLoaderTest::replaceWildcardMultiple in X Autoload 7.4
Same name and namespace in other branches
- 7.5 tests/src/ClassLoaderTest.php \Drupal\xautoload\Tests\ClassLoaderTest::replaceWildcardMultiple()
Parameters
string[] $strings:
string $replacement:
Return value
string[]
1 call to ClassLoaderTest::replaceWildcardMultiple()
- ClassLoaderTest::assertCandidateOrder in tests/
lib/ ClassLoaderTest.php
File
- tests/
lib/ ClassLoaderTest.php, line 176
Class
Namespace
Drupal\xautoload\TestsCode
protected function replaceWildcardMultiple(array $strings, $replacement) {
foreach ($strings as &$str) {
$str = $this
->replaceWildcard($str, $replacement);
}
return $strings;
}