You are here

protected function PhpArrayContainerTest::getCollection in Drupal 9

Same name and namespace in other branches
  1. 8 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;
}