LocalizedMethodActionControllers.php 431 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace Symfony\Component\Routing\Tests\Fixtures\AnnotationFixtures;
  3. use Symfony\Component\Routing\Annotation\Route;
  4. /**
  5. * @Route(path={"en": "/the/path", "nl": "/het/pad"})
  6. */
  7. class LocalizedMethodActionControllers
  8. {
  9. /**
  10. * @Route(name="post", methods={"POST"})
  11. */
  12. public function post()
  13. {
  14. }
  15. /**
  16. * @Route(name="put", methods={"PUT"})
  17. */
  18. public function put()
  19. {
  20. }
  21. }