| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class SlimRouterAdapter implements RouterAdapterInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var \Slim\Router |
||
| 15 | */ |
||
| 16 | private $router; |
||
| 17 | |||
| 18 | public function __construct(Router $router) |
||
| 19 | { |
||
| 20 | $this->router = $router; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return \JDolba\SlimHttpSmokeTesting\RouteConfiguration\RouteConfigurationInterface[] |
||
| 25 | */ |
||
| 26 | public function getRouteConfigurations(): array |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param \JDolba\SlimHttpSmokeTesting\RouteConfiguration\RouteConfigurationInterface $routeConfiguration |
||
| 40 | * @param string[] $uriParams params passed to generate URI part; keys are name of params in URI |
||
| 41 | * @param string[] $queryParams not mandatory query parts (to be used like ?foo=bar) |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public function generateRelativePath( |
||
| 53 | ); |
||
| 54 | } |
||
| 56 |