PostsController.php 996 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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.0.0
  12. * @license https://opensource.org/licenses/mit-license.php MIT License
  13. */
  14. namespace TestApp\Controller\Admin;
  15. use Cake\Controller\Controller;
  16. /**
  17. * Posts Controller class.
  18. *
  19. * For testing prefix routing.
  20. */
  21. class PostsController extends Controller
  22. {
  23. /**
  24. * components
  25. *
  26. * @var array
  27. */
  28. public $components = [];
  29. /**
  30. * index action
  31. *
  32. * @return void
  33. */
  34. public function index()
  35. {
  36. }
  37. /**
  38. * index action
  39. *
  40. * @return void
  41. */
  42. public function add()
  43. {
  44. }
  45. }