Leverage core's existing PSR7 bridge integration
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3584797. --> Reported by: [larowlan](https://www.drupal.org/user/395439) Related to !12 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Core has these integrations for PSR-7 that controllers can leverage:</p> <ul> <li><code>\Drupal\Core\Controller\ArgumentResolver\Psr7RequestValueResolver::resolve</code> - an argument resolver</li> <li><code>\Drupal\Core\EventSubscriber\PsrResponseSubscriber::onKernelView</code> - to cast PSR-7 responses from controllers to http-foundation equivalent</li> </ul> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Simplify to use these features of core</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue