CommonComponentTestController.php 402 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace App\Controller;
  3. use Tools\Controller\Controller;
  4. /**
  5. * Use Controller instead of AppController to avoid conflicts
  6. *
  7. * @property \Tools\Controller\Component\CommonComponent $Common
  8. */
  9. class CommonComponentTestController extends Controller {
  10. /**
  11. * @var array
  12. */
  13. public $components = ['Tools.Common'];
  14. /**
  15. * @var array
  16. */
  17. public $autoRedirectActions = ['allowed'];
  18. }