From 86b29370786de35cc40e3424e09c3cf48551ee28 Mon Sep 17 00:00:00 2001 From: msquare Date: Mon, 6 Aug 2018 12:50:34 +0200 Subject: added comments and renamed short method to url generators --- src/Routing/UrlGeneratorInterface.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Routing/UrlGeneratorInterface.php') 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 = []); } -- cgit v1.2.3-54-g00ecf