Events.php 991 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Gedmo\Uploadable;
  3. /**
  4. * Container for all Gedmo Uploadable events
  5. *
  6. * @author Gustavo Falco <comfortablynumb84@gmail.com>
  7. * @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
  8. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  9. */
  10. final class Events
  11. {
  12. private function __construct()
  13. {
  14. }
  15. /**
  16. * The uploadablePreFileProcess event occurs before a file is processed inside
  17. * the Uploadable listener. This means it happens before the file is validated and moved
  18. * to the configured path.
  19. *
  20. * @var string
  21. */
  22. const uploadablePreFileProcess = 'uploadablePreFileProcess';
  23. /**
  24. * The uploadablePostFileProcess event occurs after a file is processed inside
  25. * the Uploadable listener. This means it happens after the file is validated and moved
  26. * to the configured path.
  27. *
  28. * @var string
  29. */
  30. const uploadablePostFileProcess = 'uploadablePostFileProcess';
  31. }