protected function PhpArrayDumperTest::serializeDefinition in Drupal 8
Same name and namespace in other branches
- 9 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\DumperCode
protected function serializeDefinition(array $service_definition) {
return $service_definition;
}