You are here

protected function PhpArrayContainerTest::getCollection in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 49
Contains \Drupal\Tests\Component\DependencyInjection\PhpArrayContainerTest.

Class

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

Namespace

Drupal\Tests\Component\DependencyInjection

Code

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