@@ -56,16 +56,26 @@ abstract class AbstractRoute
5656
5757 /** @var string The HTTP method for this route (GET, POST, ANY, etc) */
5858 public $ method = '' ;
59- /** @var string The minimalistic pattern for route paths for this route */
59+ /** @var string The pattern for this route (like /users/*) */
6060 public $ pattern = '' ;
61- /** @var string The generated regex for the route pattern */
61+ /** @var string The generated regex to match the route pattern */
6262 public $ regexForMatch = '' ;
63- /** @var string The generated regex for creating URIs from parameters */
63+ /**
64+ * @var string The generated regex for creating URIs from parameters
65+ * @see Respect\Rest\AbstractRoute::createURI
66+ */
6467 public $ regexForReplace = '' ;
65- /** @var array A list of routines appended to this route */
68+ /**
69+ * @var array A list of routines appended to this route
70+ * @see Respect\Rest\Routines\AbstractRoutine
71+ */
6672 public $ routines = array ();
67- /** @var array A list of side routes to be used */
73+ /**
74+ * @var array A list of side routes to be used
75+ * @see Respect\Rest\Routes\AbstractRoute
76+ */
6877 public $ sideRoutes = array ();
78+
6979 /** @var array A virtualhost applied to this route (deprecated) */
7080 public $ virtualHost = null ;
7181
@@ -140,6 +150,8 @@ public function appendRoutine(Routinable $routine)
140150 * @param mixed $param1 Some parameter
141151 * @param mixed $etc This route accepts as many parameters you can pass
142152 *
153+ * @see Respect\Rest\Request::$params
154+ *
143155 * @return string the created URI
144156 */
145157 public function createUri ($ param1 =null , $ etc =null )
@@ -158,6 +170,8 @@ public function createUri($param1=null, $etc=null)
158170 * @param array $params Parameters for the processed request
159171 * @see Respect\Rest\Routines\ProxyableWhen
160172 *
173+ * @see Respect\Rest\Request::$params
174+ *
161175 * @return bool always true \,,/
162176 */
163177 public function matchRoutines (Request $ request , $ params =array ())
@@ -184,6 +198,8 @@ public function matchRoutines(Request $request, $params=array())
184198 * @param Request $request The request you want to process
185199 * @param array $params Parameters for the processed request
186200 *
201+ * @see Respect\Rest\Request::$params
202+ *
187203 * @return bool as true as xkcd (always true)
188204 */
189205 public function match (Request $ request , &$ params =array ())
0 commit comments