Events.php 982 B

1234567891011121314151617181920212223242526272829303132
  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. * The uploadablePreFileProcess event occurs before a file is processed inside
  15. * the Uploadable listener. This means it happens before the file is validated and moved
  16. * to the configured path.
  17. *
  18. * @var string
  19. */
  20. const uploadablePreFileProcess = 'uploadablePreFileProcess';
  21. /**
  22. * The uploadablePostFileProcess event occurs after a file is processed inside
  23. * the Uploadable listener. This means it happens after the file is validated and moved
  24. * to the configured path.
  25. *
  26. * @var string
  27. */
  28. const uploadablePostFileProcess = 'uploadablePostFileProcess';
  29. }