| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class QueryExecutionContext |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $queryId; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var Endpoint |
||
| 27 | */ |
||
| 28 | protected $endpoint; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * QueryExecutionContext constructor. |
||
| 32 | * |
||
| 33 | * @param Endpoint $endpoint |
||
| 34 | */ |
||
| 35 | 2 | public function __construct(Endpoint $endpoint) |
|
| 39 | 2 | } |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | 2 | public function getQueryId(): string |
|
| 45 | { |
||
| 46 | 2 | return $this->queryId; |
|
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return Endpoint |
||
| 51 | */ |
||
| 52 | public function getEndpoint(): Endpoint |
||
| 55 | } |
||
| 56 | } |
||
| 57 |