private function prepareParameters($uri) { preg_match_all('#:(\\w+)#', $uri, $matches); return Arrays::getValue($matches, 1, array()); }