Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294882

Support ServiceClosureArgument in \Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper::dumpValue

$
0
0

Problem/Motivation

Symfony services can have arrays as arguments that contain services that are wrapped in a memoizing closure.

Those arguments are then converted to \Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument by the container builder.

They are not supported by \Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper::dumpValue().

Proposed resolution

Convert \Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument to an array so we can dump it.

Remaining tasks

User interface changes

None

API changes

No change.

Data model changes

None


Viewing all articles
Browse latest Browse all 294882

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>