| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class SlimRouteConfiguration implements RouteConfigurationInterface |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var \Slim\Route |
||
| 14 | */ |
||
| 15 | private $route; |
||
| 16 | |||
| 17 | public function __construct(Route $route) |
||
| 18 | { |
||
| 19 | $this->route = $route; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getRoute(): RouteInterface |
||
| 23 | { |
||
| 24 | return $this->route; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getRouteName(): string |
||
| 28 | { |
||
| 29 | return $this->route->getPattern(); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getMethods(): array |
||
| 35 | } |
||
| 36 | } |
||
| 37 |