protected function PhpArrayContainerTest::getCollection in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php \Drupal\Tests\Component\DependencyInjection\PhpArrayContainerTest::getCollection()
- 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\DependencyInjectionCode
protected function getCollection($collection, $resolve = TRUE) {
return $collection;
}