PostsController.php 939 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
  4. * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
  5. *
  6. * Licensed under The MIT License
  7. * Redistributions of files must retain the above copyright notice.
  8. *
  9. * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
  10. * @link https://cakephp.org CakePHP(tm) Project
  11. * @since 3.2.1
  12. * @license https://opensource.org/licenses/mit-license.php MIT License
  13. */
  14. namespace TestApp\Controller\Admin\Sub;
  15. use Cake\Controller\Controller;
  16. /**
  17. * Posts Controller class.
  18. *
  19. * For testing nested prefix routing / controller loading.
  20. */
  21. class PostsController extends Controller
  22. {
  23. /**
  24. * index action
  25. *
  26. * @return void
  27. */
  28. public function index()
  29. {
  30. }
  31. /**
  32. * index action
  33. *
  34. * @return void
  35. */
  36. public function add()
  37. {
  38. }
  39. }