1 | <?php |
||
40 | class CollectorPPR extends CollectorAbstract |
||
41 | { |
||
42 | /** |
||
43 | * {@inheritDoc} |
||
44 | */ |
||
45 | public function addRoute(RouteInterface $route) |
||
52 | |||
53 | /** |
||
54 | * Parameter Pairs Routing (PPR) |
||
55 | * |
||
56 | * /path/index.php/controller/action/id/1/name/nick |
||
57 | * |
||
58 | * {@inheritDoc} |
||
59 | */ |
||
60 | protected function match(ResultInterface $result)/*# : bool */ |
||
69 | |||
70 | /** |
||
71 | * |
||
72 | * @param array $parts |
||
73 | * @access protected |
||
74 | */ |
||
75 | protected function processParts( |
||
89 | |||
90 | /** |
||
91 | * Retrieve controller, action pair |
||
92 | * |
||
93 | * @param array $data |
||
94 | * @return array |
||
95 | * @access protected |
||
96 | */ |
||
97 | protected function retrieveHandler(array &$data)/*# : array */ |
||
103 | |||
104 | /** |
||
105 | * Retrieve pair of params |
||
106 | * |
||
107 | * @param array $data |
||
108 | * @return array |
||
109 | * @access protected |
||
110 | */ |
||
111 | protected function retrieveParams(array $data)/*# : array */ |
||
121 | } |
||
122 |