SoftDeleteable.php 834B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Gedmo\SoftDeleteable;
  3. /**
  4. * This interface is not necessary but can be implemented for
  5. * Domain Objects which in some cases needs to be identified as
  6. * SoftDeleteable
  7. *
  8. * @author Gustavo Falco <comfortablynumb84@gmail.com>
  9. * @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
  10. * @package Gedmo.SoftDeleteable
  11. * @subpackage SoftDeleteable
  12. * @link http://www.gediminasm.org
  13. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  14. */
  15. interface SoftDeleteable
  16. {
  17. // this interface is not necessary to implement
  18. /**
  19. * @gedmo:SoftDeleteable
  20. * to mark the class as SoftDeleteable use class annotation @gedmo:SoftDeleteable
  21. * this object will be able to be soft deleted
  22. * example:
  23. *
  24. * @gedmo:SoftDeleteable
  25. * class MyEntity
  26. */
  27. }