+++ /dev/null
-<?php
-namespace wcf\data\page\location;
-use wcf\data\IDatabaseObjectProcessor;
-
-/**
- * Any page location class should implement this interface.
- *
- * @author Marcel Werk
- * @copyright 2001-2011 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package com.woltlab.wcf
- * @subpackage data.page.location
- * @category Community Framework
- */
-interface ILocation extends IDatabaseObjectProcessor {
- /**
- * Caches the information of a page location.
- *
- * @param array $location
- * @param string $requestURI
- * @param string $requestMethod
- * @param array $match
- */
- public function cache($location, $requestURI, $requestMethod, $match);
-
- /**
- * Returns the information of a page location.
- *
- * @param array $location
- * @param string $requestURI
- * @param string $requestMethod
- * @param array $match
- * @return string
- */
- public function get($location, $requestURI, $requestMethod, $match);
-}
--- /dev/null
+<?php
+namespace wcf\system\page\location;
+use wcf\data\page\location\PageLocation;
+use wcf\data\IDatabaseObjectProcessor;
+
+/**
+ * Any page location class should implement this interface.
+ *
+ * @author Marcel Werk
+ * @copyright 2001-2011 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package com.woltlab.wcf
+ * @subpackage system.page.location
+ * @category Community Framework
+ */
+interface IPageLocation extends IDatabaseObjectProcessor {
+ /**
+ * Caches the information of a page location.
+ *
+ * @param wcf\data\page\location\PageLocation $location
+ * @param string $requestURI
+ * @param string $requestMethod
+ * @param array $match
+ */
+ public function cache(PageLocation $location, $requestURI, $requestMethod, array $match);
+
+ /**
+ * Returns the information of a page location.
+ *
+ * @param wcf\data\page\location\PageLocation $location
+ * @param string $requestURI
+ * @param string $requestMethod
+ * @param array $match
+ * @return string
+ */
+ public function get(PageLocation $location, $requestURI, $requestMethod, array $match);
+}