diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-12-08 10:18:59 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-07 21:29:51 +0100 |
commit | 9bf01283e72716d4f94ca6893ff3d6cda6680d44 (patch) | |
tree | 6bd8f128c4fc25d4cab0f48bbb5752b77352ed24 /lib/public/route | |
parent | 0e561afe79e7da44afef285e49ef6e0851db25f0 (diff) | |
download | nextcloud-server-9bf01283e72716d4f94ca6893ff3d6cda6680d44.tar.gz nextcloud-server-9bf01283e72716d4f94ca6893ff3d6cda6680d44.zip |
Cleanup router code
- Some functions are entirely broken
- PHPDoc etc...
Diffstat (limited to 'lib/public/route')
-rw-r--r-- | lib/public/route/irouter.php | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/public/route/irouter.php b/lib/public/route/irouter.php index 3f5b58ac416..e65dc230046 100644 --- a/lib/public/route/irouter.php +++ b/lib/public/route/irouter.php @@ -37,6 +37,7 @@ interface IRouter { * * @return string[] * @since 7.0.0 + * @deprecated 9.0.0 */ public function getRoutingFiles(); @@ -47,9 +48,11 @@ interface IRouter { public function getCacheKey(); /** - * loads the api routes - * @return void + * Loads the routes + * + * @param null|string $app * @since 7.0.0 + * @deprecated 9.0.0 */ public function loadRoutes($app = null); @@ -59,6 +62,7 @@ interface IRouter { * @param string $name Name of the collection to use. * @return void * @since 7.0.0 + * @deprecated 9.0.0 */ public function useCollection($name); @@ -67,6 +71,7 @@ interface IRouter { * * @return string the collection name * @since 8.0.0 + * @deprecated 9.0.0 */ public function getCurrentCollection(); @@ -79,6 +84,7 @@ interface IRouter { * @param array $requirements An array of requirements for parameters (regexes) * @return \OCP\Route\IRoute * @since 7.0.0 + * @deprecated 9.0.0 */ public function create($name, $pattern, array $defaults = array(), array $requirements = array()); @@ -89,6 +95,7 @@ interface IRouter { * @throws \Exception * @return void * @since 7.0.0 + * @deprecated 9.0.0 */ public function match($url); @@ -96,6 +103,7 @@ interface IRouter { * Get the url generator * * @since 7.0.0 + * @deprecated 9.0.0 */ public function getGenerator(); @@ -107,6 +115,7 @@ interface IRouter { * @param bool $absolute * @return string * @since 7.0.0 + * @deprecated 9.0.0 */ public function generate($name, $parameters = array(), $absolute = false); |