You are here

protected function PhpArrayDumperTest::serializeDefinition in Zircon Profile 8

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

Helper function to serialize a definition.

Used to override serialization.

Overrides OptimizedPhpArrayDumperTest::serializeDefinition

File

core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php, line 30
Contains \Drupal\Tests\Component\DependencyInjection\Dumper\PhpArrayDumperTest.

Class

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

Namespace

Drupal\Tests\Component\DependencyInjection\Dumper

Code

protected function serializeDefinition(array $service_definition) {
  return $service_definition;
}