<?php {
protected function createRequest($method, $uri, $parameters = [], $cookies = [], $files = [], $server = [], $content = null)
{
$files = array_merge($files, $this->extractFilesFromDataArray($parameters));
$symfonyRequest = SymfonyRequest::create(
$this->prepareUrlForRequest($uri),