summaryrefslogtreecommitdiff
path: root/src/Http/UrlGenerator.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Http/UrlGenerator.php')
-rw-r--r--src/Http/UrlGenerator.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Http/UrlGenerator.php b/src/Http/UrlGenerator.php
index 132fefc7..7ced769e 100644
--- a/src/Http/UrlGenerator.php
+++ b/src/Http/UrlGenerator.php
@@ -2,12 +2,17 @@
namespace Engelsystem\Http;
-class UrlGenerator
+/**
+ * Provides urls when rewriting on the webserver is enabled. (default)
+ *
+ * The urls have the form <app url>/<path>?<parameters>
+ */
+class UrlGenerator implements UrlGeneratorInterface
{
/**
* @param string $path
* @param array $parameters
- * @return string
+ * @return string url in the form [app url]/[path]?[parameters]
*/
public function to($path, $parameters = [])
{