diff options
Diffstat (limited to 'lib/public/route/irouter.php')
-rw-r--r-- | lib/public/route/irouter.php | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/public/route/irouter.php b/lib/public/route/irouter.php index 3f5b58ac416..63e7b9b6202 100644 --- a/lib/public/route/irouter.php +++ b/lib/public/route/irouter.php @@ -29,6 +29,7 @@ namespace OCP\Route; * * @package OCP\Route * @since 7.0.0 + * @deprecated 9.0.0 */ interface IRouter { @@ -37,19 +38,23 @@ interface IRouter { * * @return string[] * @since 7.0.0 + * @deprecated 9.0.0 */ public function getRoutingFiles(); /** * @return string * @since 7.0.0 + * @deprecated 9.0.0 */ 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 +64,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 +73,7 @@ interface IRouter { * * @return string the collection name * @since 8.0.0 + * @deprecated 9.0.0 */ public function getCurrentCollection(); @@ -79,6 +86,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 +97,7 @@ interface IRouter { * @throws \Exception * @return void * @since 7.0.0 + * @deprecated 9.0.0 */ public function match($url); @@ -96,6 +105,7 @@ interface IRouter { * Get the url generator * * @since 7.0.0 + * @deprecated 9.0.0 */ public function getGenerator(); @@ -107,6 +117,7 @@ interface IRouter { * @param bool $absolute * @return string * @since 7.0.0 + * @deprecated 9.0.0 */ public function generate($name, $parameters = array(), $absolute = false); |