Elgg\Http\ResponseFactory::__construct PHP Метод

__construct() публичный Метод

Constructor
public __construct ( Request $request, PluginHooksService $hooks, Service $ajax, Elgg\Http\ResponseTransport $transport )
$request Request HTTP request
$hooks Elgg\PluginHooksService Plugin hooks service
$ajax Elgg\Ajax\Service 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();
    }