| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | protected function doRequest($criteria) |
||
| 36 | { |
||
| 37 | $client = self::createClient(); |
||
| 38 | $client->request( |
||
| 39 | 'GET', |
||
| 40 | '/api/entity/my-entity/count', |
||
| 41 | [ |
||
| 42 | 'criteria' => $criteria, |
||
| 43 | ], |
||
| 44 | [], |
||
| 45 | ['HTTP_CONTENT_TYPE' => 'application/json'] |
||
| 46 | ); |
||
| 47 | |||
| 48 | return $client->getResponse(); |
||
| 49 | } |
||
| 50 | |||
| 77 |