added phpdoc

This commit is contained in:
Tobias Schultze 2012-06-15 17:33:40 +02:00
parent c413e7ba39
commit 7464dcd206

View File

@ -36,6 +36,13 @@ class RouterListener implements EventSubscriberInterface
private $context;
private $logger;
/**
* Constructor.
*
* @param UrlMatcherInterface|RequestMatcherInterface $matcher The Url or Request matcher
* @param RequestContext|null $context The RequestContext (can be null when $matcher implements RequestContextAwareInterface)
* @param LoggerInterface|null $logger The logger
*/
public function __construct($matcher, RequestContext $context = null, LoggerInterface $logger = null)
{
if (!$matcher instanceof UrlMatcherInterface && !$matcher instanceof RequestMatcherInterface) {