| 1 | <?php |
||
| 16 | class Request implements RequestInterface |
||
| 17 | { |
||
| 18 | use ConfigurableTrait; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $method; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $service; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var array |
||
| 32 | */ |
||
| 33 | protected $params = []; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var array |
||
| 37 | */ |
||
| 38 | protected $headers = []; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var CredentialsInterface |
||
| 42 | */ |
||
| 43 | protected $credentials; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Request constructor. |
||
| 47 | * @param array $requestAttributes |
||
| 48 | */ |
||
| 49 | 2 | public function __construct(array $requestAttributes = []) |
|
| 53 | |||
| 54 | /** |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | 1 | public function getService() |
|
| 61 | |||
| 62 | /** |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | 1 | public function getMethod() |
|
| 69 | |||
| 70 | /** |
||
| 71 | * @return array |
||
| 72 | */ |
||
| 73 | 1 | public function getParams() |
|
| 77 | |||
| 78 | /** |
||
| 79 | * @inheritdoc |
||
| 80 | */ |
||
| 81 | 1 | public function getCredentials() |
|
| 85 | |||
| 86 | /** |
||
| 87 | * @inheritdoc |
||
| 88 | */ |
||
| 89 | 1 | public function getHeaders() |
|
| 93 | } |
||
| 94 |