You are here

protected function PhpArrayDumperTest::getCollection in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php \Drupal\Tests\Component\DependencyInjection\Dumper\PhpArrayDumperTest::getCollection()

Helper function to return a machine-optimized collection.

Overrides OptimizedPhpArrayDumperTest::getCollection

File

core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php, line 50

Class

PhpArrayDumperTest
@coversDefaultClass \Drupal\Component\DependencyInjection\Dumper\PhpArrayDumper @group DependencyInjection

Namespace

Drupal\Tests\Component\DependencyInjection\Dumper

Code

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