| Conditions | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function assembly(Rocket $rocket, Closure $next): Rocket |
||
| 30 | { |
||
| 31 | $rocket->setDestination(new Response()); |
||
| 32 | |||
| 33 | /* @var Rocket $rocket */ |
||
| 34 | $rocket = $next($rocket); |
||
| 35 | |||
| 36 | $response = $this->buildHtml($rocket->getPayload()); |
||
| 37 | |||
| 38 | return $rocket->setDestination($response); |
||
| 39 | } |
||
| 40 | |||
| 48 |