Uploadable.php 700 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace Gedmo\Uploadable;
  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. * Uploadable
  7. *
  8. * @author Gustavo Falco <comfortablynumb84@gmail.com>
  9. * @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
  10. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  11. */
  12. interface Uploadable
  13. {
  14. // this interface is not necessary to implement
  15. /**
  16. * @gedmo:Uploadable
  17. * to mark the class as Uploadable use class annotation @gedmo:Uploadable
  18. * this object will be able Uploadable
  19. * example:
  20. *
  21. * @gedmo:Uploadable
  22. * class MyEntity
  23. */
  24. }