![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/laminas/laminas-feed/src/PubSubHubbub/ |
<?php declare(strict_types=1); namespace Laminas\Feed\PubSubHubbub; use Laminas\Http\PhpEnvironment\Response; interface CallbackInterface { /** * Handle any callback from a Hub Server responding to a subscription or * unsubscription request. This should be the Hub Server confirming the * the request prior to taking action on it. * * @param null|array $httpData GET/POST data if available and not in $_GET/POST * @param bool $sendResponseNow Whether to send response now or when asked */ public function handle(?array $httpData = null, $sendResponseNow = false); /** * Send the response, including all headers. * If you wish to handle this via Laminas\Mvc\Controller, use the getter methods * to retrieve any data needed to be set on your HTTP Response object, or * simply give this object the HTTP Response instance to work with for you! * * @return void */ public function sendResponse(); /** * An instance of a class handling Http Responses. This is implemented in * Laminas\Feed\Pubsubhubbub\HttpResponse which shares an unenforced interface with * (i.e. not inherited from) Laminas\Feed\Pubsubhubbub\AbstractCallback. * * @param HttpResponse|Response $httpResponse */ public function setHttpResponse($httpResponse); /** * An instance of a class handling Http Responses. This is implemented in * Laminas\Feed\Pubsubhubbub\HttpResponse which shares an unenforced interface with * (i.e. not inherited from) Laminas\Feed\Pubsubhubbub\AbstractCallback. * * @return HttpResponse|Response */ public function getHttpResponse(); }