class Append in Zircon Profile 8
Same name in this branch
- 8 vendor/stack/builder/tests/functional/SilexApplicationTest.php \functional\Append
- 8 vendor/stack/builder/tests/unit/Stack/BuilderTest.php \Stack\Append
Same name and namespace in other branches
Hierarchy
- class \Stack\Append implements HttpKernelInterface
Expanded class hierarchy of Append
File
- vendor/stack/ builder/ tests/ unit/ Stack/ BuilderTest.php, line 181 
Namespace
StackView source
class Append implements HttpKernelInterface {
  private $app;
  private $appendix;
  public function __construct(HttpKernelInterface $app, $appendix) {
    $this->app = $app;
    $this->appendix = $appendix;
  }
  public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) {
    $response = clone $this->app
      ->handle($request, $type, $catch);
    $response
      ->setContent($response
      ->getContent() . $this->appendix);
    return $response;
  }
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| Append:: | private | property | ||
| Append:: | private | property | ||
| Append:: | public | function | Handles a Request to convert it to a Response. Overrides HttpKernelInterface:: | |
| Append:: | public | function | 2 | |
| HttpKernelInterface:: | constant | |||
| HttpKernelInterface:: | constant | 
