Tree.php 542 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace Gedmo\Mapping\Annotation;
  3. use Doctrine\Common\Annotations\Annotation;
  4. /**
  5. * Tree annotation for Tree behavioral extension
  6. *
  7. * @Annotation
  8. * @Target("CLASS")
  9. *
  10. * @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
  11. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  12. */
  13. final class Tree extends Annotation
  14. {
  15. /** @var string */
  16. public $type = 'nested';
  17. /** @var string */
  18. public $activateLocking = false;
  19. /** @var integer */
  20. public $lockingTimeout = 3;
  21. }