1 | <?php |
||
15 | final class QueryDefaultsPlugin implements Plugin |
||
16 | { |
||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | private $queryParams = []; |
||
21 | |||
22 | /** |
||
23 | * @param array $queryParams Hashmap of query name to query value. Names and values should not be url encoded. |
||
24 | */ |
||
25 | public function __construct(array $queryParams) |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function handleRequest(RequestInterface $request, callable $next, callable $first) |
||
53 | } |
||
54 |