diff options
author | msquare <msquare@notrademark.de> | 2018-08-06 12:50:34 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-08-06 12:50:34 +0200 |
commit | 86b29370786de35cc40e3424e09c3cf48551ee28 (patch) | |
tree | 7d605f5b24c864d91c50bfe9df333f95d272f7b5 /src/Routing/UrlGeneratorInterface.php | |
parent | 5a83d4fb8b7d2fc561a2b841ab6981df02837b2d (diff) |
added comments and renamed short method to url generators
Diffstat (limited to 'src/Routing/UrlGeneratorInterface.php')
-rw-r--r-- | src/Routing/UrlGeneratorInterface.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Routing/UrlGeneratorInterface.php b/src/Routing/UrlGeneratorInterface.php index d97da30d..17385bc2 100644 --- a/src/Routing/UrlGeneratorInterface.php +++ b/src/Routing/UrlGeneratorInterface.php @@ -2,6 +2,9 @@ namespace Engelsystem\Routing; +/** + * To switch between different URL schemes. + */ interface UrlGeneratorInterface { /** @@ -9,5 +12,5 @@ interface UrlGeneratorInterface * @param array $parameters * @return string */ - public function to($path, $parameters = []); + public function link_to($path, $parameters = []); } |