src/POData/OperationContext/Web/Illuminate/IncomingIlluminateRequest.php 1 location
|
@@ 59-66 (lines=8) @@
|
| 56 |
|
* |
| 57 |
|
* @param Request $request |
| 58 |
|
*/ |
| 59 |
|
public function __construct(Request $request) |
| 60 |
|
{ |
| 61 |
|
$this->request = $request; |
| 62 |
|
$this->headers = []; |
| 63 |
|
$this->queryOptions = []; |
| 64 |
|
$this->queryOptionsCount = []; |
| 65 |
|
$this->method = new HTTPRequestMethod($this->request->getMethod()); |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
/** |
| 69 |
|
* @return string RequestURI called by User with the value of QueryString |
src/POData/OperationContext/Web/IncomingRequest.php 1 location
|
@@ 55-62 (lines=8) @@
|
| 52 |
|
/** |
| 53 |
|
* Initialize a new instance of IncomingWebRequestContext. |
| 54 |
|
*/ |
| 55 |
|
public function __construct() |
| 56 |
|
{ |
| 57 |
|
$this->method = new HTTPRequestMethod($_SERVER['REQUEST_METHOD']); |
| 58 |
|
$this->queryOptions = []; |
| 59 |
|
$this->queryOptionsCount = []; |
| 60 |
|
$this->headers = []; |
| 61 |
|
$this->getHeaders(); |
| 62 |
|
} |
| 63 |
|
|
| 64 |
|
/** |
| 65 |
|
* Get the request headers |