From 9496e3571168feff780f6efb17ddc00c670e2dee Mon Sep 17 00:00:00 2001 From: msquare Date: Mon, 6 Aug 2018 12:57:48 +0200 Subject: added comments and renamed short method to url generators --- src/Routing/UrlGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Routing/UrlGenerator.php') diff --git a/src/Routing/UrlGenerator.php b/src/Routing/UrlGenerator.php index a8fc88c1..188bac3b 100644 --- a/src/Routing/UrlGenerator.php +++ b/src/Routing/UrlGenerator.php @@ -14,7 +14,7 @@ class UrlGenerator implements UrlGeneratorInterface * @param array $parameters * @return string url in the form [app url]/[path]?[parameters] */ - public function link_to($path, $parameters = []) + public function linkTo($path, $parameters = []) { $path = '/' . ltrim($path, '/'); $request = app('request'); -- cgit v1.2.3-54-g00ecf