123456789101112131415161718192021222324252627282930313233 |
- <?php
- declare(strict_types=1);
- namespace OCP\Http\WellKnown;
- use OCP\AppFramework\Http\Response;
- final class GenericResponse implements IResponse {
-
- private $response;
-
- public function __construct(Response $response) {
- $this->response = $response;
- }
-
- public function toHttpResponse(): Response {
- return $this->response;
- }
- }
|