Skip to content

Commit 798405e

Browse files
authored
Merge pull request #1 from devosc/master
tidy up
2 parents b1f4b19 + f540386 commit 798405e

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

config/service.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,13 @@
33
*
44
*/
55

6-
use Mvc5\Plugin\Args;
76
use Mvc5\Plugin\GlobalVar;
87
use Mvc5\Plugin\Plugin;
98
use Symfony\Component\HttpFoundation\ApacheRequest;
109
use Valar\Plugin\ServerRequest;
1110
use Zend\Diactoros\Stream;
1211

1312
return [
14-
'http\request' => [Valar\Http\Request::class, new Args([
15-
'body' => new Stream('php://temp', 'wb+'),
16-
'headers' => new Mvc5\Http\Headers\Config,
17-
'method' => 'POST',
18-
//'target' => '/foo?bar=baz',
19-
'uri' => new Plugin('http\uri', [[
20-
'host' => 'localhost',
21-
'path' => '/foo',
22-
'port' => '8080',
23-
'query' => 'bar=baz'
24-
]]),
25-
'version' => '1.1'
26-
])],
27-
'http\uri' => Valar\Http\Uri::class,
2813
'http-foundation\request' => new Plugin(
2914
ApacheRequest::class, [new GlobalVar('_GET'), new GlobalVar('_POST'), [], [], [], new GlobalVar('_SERVER')]
3015
),

0 commit comments

Comments
 (0)