| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 58 | 1 | public function newByHttpRequestQueryResult( Query $query, JsonResponseParser $jsonResponseParser ) { |
|
| 59 | |||
| 60 | 1 | $queryResult = new ByHttpRequestQueryResult( |
|
| 61 | 1 | $query->getDescription()->getPrintrequests(), |
|
| 62 | 1 | $query, |
|
| 63 | 1 | $jsonResponseParser->getResultSubjectList(), |
|
| 64 | 1 | $this->store, |
|
| 65 | 1 | $jsonResponseParser->hasFurtherResults() |
|
| 66 | 1 | ); |
|
| 67 | |||
| 68 | 1 | $queryResult->setJsonResponseParser( $jsonResponseParser ); |
|
| 69 | |||
| 70 | 1 | return $queryResult; |
|
| 71 | } |
||
| 72 | |||
| 74 |