Added methods to set custom request and response objects
The idea is enable to use Drupal 8 request and response, because the change a little bit from symfony request and responses.
but... Why do you need to do that? Drupal 8 is HttpKernelInterface friendly ping @h4cc
Not really, how request and response is created in a differente way in Drupal 8
I cant see the cause for a change like this be needed. @enzolutions Please elborate or give examples.
Drupal 8 is using the stock symfony http-kernel and http-foundation way AFAIK: https://github.com/drupal/drupal/blob/8.0.x/index.php#L18
Only idea i have is to use a factory or middleware pattern, that will enable using callbacks to create Symfony Request/Response instances.
@h4cc I would understand a middleware pattern as factory to create Request instances... but does it needed for a response instances?