public function __construct(callable $delegate, ResponseInterface $response) { $this->delegate = $delegate; $this->response = $response; }