ParamTestComponent.php 852 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
  4. * Copyright 2005-2011, 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 2005-2011, 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\Component;
  15. use Cake\Controller\Component;
  16. /**
  17. * ParamTestComponent
  18. *
  19. * @property BananaComponent $Banana
  20. */
  21. class ParamTestComponent extends Component
  22. {
  23. /**
  24. * components property
  25. *
  26. * @var array
  27. */
  28. public $components = ['Banana' => ['config' => 'value']];
  29. }