TreePath.php 614 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace Gedmo\Mapping\Annotation;
  3. use Doctrine\Common\Annotations\Annotation;
  4. /**
  5. * TreePath annotation for Tree behavioral extension
  6. *
  7. * @Annotation
  8. * @Target("PROPERTY")
  9. *
  10. * @author Gustavo Falco <comfortablynumb84@gmail.com>
  11. * @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
  12. * @author <rocco@roccosportal.com>
  13. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  14. */
  15. final class TreePath extends Annotation
  16. {
  17. public $separator = ',';
  18. public $appendId = null;
  19. public $startsWithSeparator = false;
  20. public $endsWithSeparator = true;
  21. }