RecursionTable.php 732 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
  4. * Copyright (c) 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 (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
  10. * @since 3.9.7
  11. * @license https://opensource.org/licenses/mit-license.php MIT License
  12. */
  13. namespace TestApp\Model\Table;
  14. use Cake\ORM\Table;
  15. /**
  16. * Table with recursive reference
  17. */
  18. class RecursionTable extends Table
  19. {
  20. /**
  21. * @inheritDoc
  22. */
  23. public function initialize(array $config)
  24. {
  25. $config['locator']->get('Recursion');
  26. }
  27. }