You are here

protected function PhpArrayContainerTest::getCollection in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php \Drupal\Tests\Component\DependencyInjection\PhpArrayContainerTest::getCollection()
  2. 9 core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php \Drupal\Tests\Component\DependencyInjection\PhpArrayContainerTest::getCollection()

Helper function to return a machine-optimized '@notation'.

Overrides ContainerTest::getCollection

File

core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php, line 44

Class

PhpArrayContainerTest
@coversDefaultClass \Drupal\Component\DependencyInjection\PhpArrayContainer @group DependencyInjection

Namespace

Drupal\Tests\Component\DependencyInjection

Code

protected function getCollection($collection, $resolve = TRUE) {
  return $collection;
}