You are here

protected function PhpArrayDumperTest::serializeDefinition in Drupal 9

Same name and namespace in other branches
  1. 8 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 25

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;
}