diff options
author | msquare <msquare@notrademark.de> | 2018-08-06 12:57:48 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-08-06 12:57:48 +0200 |
commit | 9496e3571168feff780f6efb17ddc00c670e2dee (patch) | |
tree | 7313a4fecc2da111a199e727b12e88346d5db230 /src/Routing/UrlGenerator.php | |
parent | 86b29370786de35cc40e3424e09c3cf48551ee28 (diff) |
added comments and renamed short method to url generators
Diffstat (limited to 'src/Routing/UrlGenerator.php')
-rw-r--r-- | src/Routing/UrlGenerator.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |