function PhpArrayContainerTest::getCollection
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php \Drupal\Tests\Component\DependencyInjection\PhpArrayContainerTest::getCollection()
- 8.9.x core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php \Drupal\Tests\Component\DependencyInjection\PhpArrayContainerTest::getCollection()
- 10 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 48
Class
- PhpArrayContainerTest
- @coversDefaultClass \Drupal\Component\DependencyInjection\PhpArrayContainer @group DependencyInjection
Namespace
Drupal\Tests\Component\DependencyInjectionCode
protected function getCollection($collection, $resolve = TRUE) {
return $collection;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.