You are here

public function Request::__construct in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::__construct()
  2. 8.0 vendor/symfony/browser-kit/Request.php \Symfony\Component\BrowserKit\Request::__construct()
  3. 8.0 vendor/zendframework/zend-diactoros/src/Request.php \Zend\Diactoros\Request::__construct()
  4. 8.0 vendor/guzzlehttp/psr7/src/Request.php \GuzzleHttp\Psr7\Request::__construct()
  5. 8.0 vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Request.php \Zumba\GastonJS\NetworkTraffic\Request::__construct()
Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Request.php \Zumba\GastonJS\NetworkTraffic\Request::__construct()

Parameters

array $data:

array $responseParts:

File

vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Request.php, line 20

Class

Request
Class Request @package Zumba\GastonJS\NetworkTraffic

Namespace

Zumba\GastonJS\NetworkTraffic

Code

public function __construct($data, $responseParts = null) {
  $this->data = $data;
  $this->responseParts = $this
    ->createResponseParts($responseParts);
}