Mark V
1: <?php
2: namespace MOC\V\Component\Router\Component;
3:
4: use MOC\V\Component\Router\Component\Exception\ComponentException;
5: use MOC\V\Component\Router\Component\Parameter\Repository\RouteParameter;
6:
7: /**
8: * Interface IBridgeInterface
9: *
10: * @package MOC\V\Component\Router\Component
11: */
12: interface IBridgeInterface
13: {
14:
15: /**
16: * @param RouteParameter $RouteOption
17: *
18: * @return IBridgeInterface
19: */
20: public function addRoute(RouteParameter $RouteOption);
21:
22: /**
23: * @param null|string $Path
24: *
25: * @return string
26: * @throws ComponentException
27: */
28: public function getRoute($Path = null);
29:
30: /**
31: * @return array
32: */
33: public function getRouteList();
34: }
35: