function 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[[api-linebreak]] @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.