You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
361B

  1. <?php
  2. namespace Lc\ShopBundle\Context;
  3. interface TreeInterface
  4. {
  5. /**
  6. * Retourne le parent d'une entité
  7. *
  8. * @return entity
  9. */
  10. public function getParent();
  11. /**
  12. * Retourne les enfants d'une entité
  13. *
  14. * @return entity
  15. */
  16. public function getChildrens();
  17. }