Annotations.php 809 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace Gedmo\Tree\Mapping;
  3. use Doctrine\Common\Annotations\Annotation;
  4. /**
  5. * These are Tree extension annotations which should be used
  6. * on proper Tree Node Entity to activate the Tree listener
  7. *
  8. * @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
  9. * @package Gedmo.Tree.Mapping
  10. * @subpackage Annotations
  11. * @link http://www.gediminasm.org
  12. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  13. */
  14. final class Tree extends Annotation
  15. {
  16. public $type = 'nested';
  17. }
  18. final class TreeLeft extends Annotation {}
  19. final class TreeRight extends Annotation {}
  20. final class TreeParent extends Annotation {}
  21. final class TreeLevel extends Annotation {}
  22. final class TreeRoot extends Annotation {}
  23. final class TreeClosure extends Annotation
  24. {
  25. public $class;
  26. }