AppleComponent.php 1006 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
  5. * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
  6. *
  7. * Licensed under The MIT License
  8. * Redistributions of files must retain the above copyright notice.
  9. *
  10. * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
  11. * @link https://cakephp.org CakePHP(tm) Project
  12. * @since 3.0.0
  13. * @license https://opensource.org/licenses/mit-license.php MIT License
  14. */
  15. namespace TestApp\Controller\Component;
  16. use Cake\Controller\Component;
  17. use Cake\Event\EventInterface;
  18. /**
  19. * AppleComponent class
  20. *
  21. * @property OrangeComponent $Orange
  22. */
  23. class AppleComponent extends Component
  24. {
  25. /**
  26. * components property
  27. *
  28. * @var array
  29. */
  30. protected array $components = ['Orange'];
  31. /**
  32. * startup method
  33. *
  34. * @return void
  35. */
  36. public function startup(EventInterface $event)
  37. {
  38. }
  39. }