AppleComponent.php 1004 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  4. * Copyright (c) Cake Software Foundation, Inc. (http://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. (http://cakefoundation.org)
  10. * @link http://cakephp.org CakePHP(tm) Project
  11. * @since 3.0.0
  12. * @license http://www.opensource.org/licenses/mit-license.php MIT License
  13. */
  14. namespace TestApp\Controller\Component;
  15. use Cake\Controller\Component;
  16. use Cake\Controller\Controller;
  17. use Cake\Event\Event;
  18. /**
  19. * AppleComponent class
  20. */
  21. class AppleComponent extends Component
  22. {
  23. /**
  24. * components property
  25. *
  26. * @var array
  27. */
  28. public $components = ['Orange'];
  29. /**
  30. * startup method
  31. *
  32. * @param Event $event
  33. * @param mixed $controller
  34. * @return void
  35. */
  36. public function startup(Event $event)
  37. {
  38. }
  39. }