function PhpArrayDumperTest::serializeDefinition

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php \Drupal\Tests\Component\DependencyInjection\Dumper\PhpArrayDumperTest::serializeDefinition()
  2. 8.9.x core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php \Drupal\Tests\Component\DependencyInjection\Dumper\PhpArrayDumperTest::serializeDefinition()
  3. 10 core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php \Drupal\Tests\Component\DependencyInjection\Dumper\PhpArrayDumperTest::serializeDefinition()

Overrides OptimizedPhpArrayDumperTest::serializeDefinition

File

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

Class

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

Namespace

Drupal\Tests\Component\DependencyInjection\Dumper

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.