php-debugbar icon indicating copy to clipboard operation
php-debugbar copied to clipboard

Allow construct RequestDataCollector from PSR-15 ServerRequestInterface

Open spotman opened this issue 7 years ago • 0 comments

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:

spotman avatar Oct 18 '18 09:10 spotman