Route.php 640B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Sensio\Bundle\FrameworkExtraBundle\Configuration;
  3. use Symfony\Component\Routing\Annotation\Route as BaseRoute;
  4. /*
  5. * This file is part of the Symfony framework.
  6. *
  7. * (c) Fabien Potencier <fabien@symfony.com>
  8. *
  9. * This source file is subject to the MIT license that is bundled
  10. * with this source code in the file LICENSE.
  11. */
  12. /**
  13. * @author Kris Wallsmith <kris@symfony.com>
  14. * @Annotation
  15. */
  16. class Route extends BaseRoute
  17. {
  18. protected $service;
  19. public function setService($service)
  20. {
  21. $this->service = $service;
  22. }
  23. public function getService()
  24. {
  25. return $this->service;
  26. }
  27. }