public __construct ( |
||
$request | HTTP request | |
$hooks | Plugin hooks service | |
$ajax | AJAX service | |
$transport | Elgg\Http\ResponseTransport | Response transport |
public function __construct(Request $request, PluginHooksService $hooks, AjaxService $ajax, ResponseTransport $transport)
{
$this->request = $request;
$this->hooks = $hooks;
$this->ajax = $ajax;
$this->transport = $transport;
$this->headers = new ResponseHeaderBag();
}