| Total Complexity | 1 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 7 | trait WithResponse |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string Name of the route |
||
| 11 | */ |
||
| 12 | protected $routeName; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array Params to pass to the route |
||
| 16 | */ |
||
| 17 | protected $routeParams = []; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var TestResponse |
||
| 21 | */ |
||
| 22 | protected $response; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Retrieve a 'GET' response using route & params. |
||
| 26 | * |
||
| 27 | * @return TestResponse |
||
| 28 | */ |
||
| 29 | protected function getResponse(): TestResponse |
||
| 34 |