| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class RequestFactoryMiddleware extends AbstractMiddleware |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var MessageFactoryInterface |
||
| 24 | */ |
||
| 25 | protected $factory; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param MessageFactoryInterface $factory |
||
| 29 | */ |
||
| 30 | public function __construct(MessageFactoryInterface $factory) |
||
| 31 | { |
||
| 32 | $this->factory = $factory; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param HttpRequestInterface $request |
||
| 37 | * @param array $options |
||
| 38 | * |
||
| 39 | * @return HttpRequestInterface |
||
| 40 | */ |
||
| 41 | public function applyRequest(HttpRequestInterface $request, array $options) |
||
| 44 | } |
||
| 45 | } |
||
| 46 |