| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | public function inbound($request, Context $ctx) |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var Request $http |
||
| 24 | */ |
||
| 25 | |||
| 26 | $http = $ctx->get(ServerWrapper::REQUESTING); |
||
| 27 | |||
| 28 | if ($http->hasHeader(Defined::X_ROUTE_TAGS)) { |
||
| 29 | $ctx->set(RoutesMarking::FLAG, $http->getHeader(Defined::X_ROUTE_TAGS)); |
||
| 30 | } |
||
| 31 | |||
| 32 | return $request; |
||
| 33 | } |
||
| 45 |