BlueberryComponent.php 455 B

123456789101112131415161718192021222324252627
  1. <?php
  2. declare(strict_types=1);
  3. namespace TestApp\Controller\Component;
  4. use Cake\Controller\Component;
  5. class BlueberryComponent extends Component
  6. {
  7. /**
  8. * testName property
  9. *
  10. * @var string|null
  11. */
  12. public $testName;
  13. /**
  14. * initialize method
  15. *
  16. * @param array $config
  17. * @return void
  18. */
  19. public function initialize(array $config): void
  20. {
  21. $this->testName = 'BlueberryComponent';
  22. }
  23. }