php-debugbar
php-debugbar copied to clipboard
Allow construct RequestDataCollector from PSR-15 ServerRequestInterface
Hi there!
Is it possible to add a constructor to RequestDataCollector so PSR-15 ServerRequestInterface can be used instead of global state? This is very handy while running an app on async environment like php-pm. I may create a PR for that if you promise to approve it :slightly_smiling_face: