Skip to content

Commit

Permalink
cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Oct 9, 2011
1 parent 0ce0255 commit 7056423
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions EventListener/RouterListener.php
Expand Up @@ -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
Expand Down

0 comments on commit 7056423

Please sign in to comment.