Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleanups

  • Loading branch information...
commit 70564234f1bef7c41f272f0b5fa9ea012db3cde2 1 parent 0ce0255
@lsmith77 lsmith77 authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 EventListener/RouterListener.php
View
7 EventListener/RouterListener.php
@@ -12,21 +12,20 @@
namespace FOS\RestBundle\EventListener;
use Symfony\Component\HttpKernel\Event\GetResponseEvent,
- Symfony\Component\Serializer\SerializerInterface,
Symfony\Component\HttpKernel\Exception\HttpException,
Symfony\Component\HttpKernel\HttpKernelInterface,
Symfony\Component\HttpKernel\Log\LoggerInterface,
Symfony\Component\Routing\RouterInterface,
Symfony\Component\DependencyInjection\ContainerAware;
-use Doctrine\Common\Annotations\Reader;
-
use FOS\RestBundle\Response\Codes,
FOS\RestBundle\Util\AcceptHeaderNegotiatorInterface;
/**
- * This listener handles Accept header format negotiations.
+ * Initializes request attributes based on a matching route and
+ * determines the request format based on the Accept header
*
+ * @author Fabien Potencier <fabien@symfony.com>
* @author Lukas Kahwe Smith <smith@pooteeweet.org>
*/
class RouterListener extends ContainerAware

0 comments on commit 7056423

Please sign in to comment.
Something went wrong with that request. Please try again.