You are here

protected function ClassLoaderTest::replaceWildcardMultiple in X Autoload 7.5

Same name and namespace in other branches
  1. 7.4 tests/lib/ClassLoaderTest.php \Drupal\xautoload\Tests\ClassLoaderTest::replaceWildcardMultiple()

Parameters

string[] $strings:

string $replacement:

Return value

string[]

1 call to ClassLoaderTest::replaceWildcardMultiple()
ClassLoaderTest::assertCandidateOrder in tests/src/ClassLoaderTest.php

File

tests/src/ClassLoaderTest.php, line 185

Class

ClassLoaderTest

Namespace

Drupal\xautoload\Tests

Code

protected function replaceWildcardMultiple(array $strings, $replacement) {
  foreach ($strings as &$str) {
    $str = $this
      ->replaceWildcard($str, $replacement);
  }
  return $strings;
}