| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class HelloSprykerRouteProviderPlugin extends AbstractRouteProviderPlugin |
||
| 9 | { |
||
| 10 | protected const ROUTE_HELLO_SPRYKER_INDEX = 'hello-spryker-index'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Specification: |
||
| 14 | * - Adds Routes to the RouteCollection. |
||
| 15 | * |
||
| 16 | * @api |
||
| 17 | * |
||
| 18 | * @param \Spryker\Yves\Router\Route\RouteCollection $routeCollection |
||
| 19 | * |
||
| 20 | * @return \Spryker\Yves\Router\Route\RouteCollection |
||
| 21 | */ |
||
| 22 | public function addRoutes(RouteCollection $routeCollection): RouteCollection |
||
| 23 | { |
||
| 24 | $routeCollection = $this->addHelloSprykerIndexRoute($routeCollection); |
||
| 25 | |||
| 26 | return $routeCollection; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param \Spryker\Yves\Router\Route\RouteCollection $routeCollection |
||
| 31 | * |
||
| 32 | * @return \Spryker\Yves\Router\Route\RouteCollection |
||
| 33 | */ |
||
| 34 | protected function addHelloSprykerIndexRoute(RouteCollection $routeCollection): RouteCollection |
||
| 40 | } |
||
| 41 | } |
||
| 42 |