diff options
author | Piotr Antosik <mail@piotrantosik.com> | 2013-08-22 00:25:28 +0200 |
---|---|---|
committer | Piotr Antosik <mail@piotrantosik.com> | 2013-09-19 18:46:04 +0200 |
commit | 166cd180b8f3179d3b63e839093f1658a24e7822 (patch) | |
tree | d4d9de423bb84aff73de1756a22a5518eb3bc43f /Http/HttpUtils.php | |
parent | ed68104bc3cffe77b574d3f8d0f7efe4983e50fb (diff) | |
download | symfony-security-166cd180b8f3179d3b63e839093f1658a24e7822.zip symfony-security-166cd180b8f3179d3b63e839093f1658a24e7822.tar.gz symfony-security-166cd180b8f3179d3b63e839093f1658a24e7822.tar.bz2 |
Added doc comments
Diffstat (limited to 'Http/HttpUtils.php')
-rw-r--r-- | Http/HttpUtils.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Http/HttpUtils.php b/Http/HttpUtils.php index c3ff865..0588359 100644 --- a/Http/HttpUtils.php +++ b/Http/HttpUtils.php @@ -13,6 +13,7 @@ namespace Symfony\Component\Security\Http; use Symfony\Component\Security\Core\SecurityContextInterface; +use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\Routing\Matcher\UrlMatcherInterface; @@ -37,6 +38,8 @@ class HttpUtils * * @param UrlGeneratorInterface $urlGenerator A UrlGeneratorInterface instance * @param UrlMatcherInterface|RequestMatcherInterface $urlMatcher The Url or Request matcher + * + * @throws \InvalidArgumentException */ public function __construct(UrlGeneratorInterface $urlGenerator = null, $urlMatcher = null) { @@ -123,9 +126,11 @@ class HttpUtils * Generates a URI, based on the given path or absolute URL. * * @param Request $request A Request instance - * @param string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) + * @param string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) * * @return string An absolute URL + * + * @throws \LogicException */ public function generateUri($request, $path) { |