TestGroupController.php 594 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. namespace Knuckles\Scribe\Tests\Fixtures;
  3. /**
  4. * @group 1. Group 1
  5. *
  6. * Group 1 APIs
  7. */
  8. class TestGroupController
  9. {
  10. /**
  11. * Some endpoint.
  12. *
  13. * By default, this is in Group 1.
  14. */
  15. public function action1()
  16. {
  17. }
  18. /**
  19. * Another endpoint.
  20. *
  21. * Here we specify a group. This is also in Group 1.
  22. *
  23. * @group 1. Group 1
  24. */
  25. public function action1b()
  26. {
  27. }
  28. /**
  29. * @group 2. Group 2
  30. */
  31. public function action2()
  32. {
  33. }
  34. /** @group 10. Group 10 */
  35. public function action10()
  36. {
  37. }
  38. }