Events.php 761 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /*
  3. * This file is part of the Symfony CMF package.
  4. *
  5. * (c) 2011-2014 Symfony CMF
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Cmf\Component\Routing\Event;
  11. final class Events
  12. {
  13. /**
  14. * Fired before a path is matched in \Symfony\Cmf\Component\Routing\DynamicRouter#match
  15. *
  16. * The event object is RouteMatchEvent.
  17. */
  18. const PRE_DYNAMIC_MATCH = 'cmf_routing.pre_dynamic_match';
  19. /**
  20. * Fired before a Request is matched in \Symfony\Cmf\Component\Routing\DynamicRouter#match
  21. *
  22. * The event object is RouteMatchEvent.
  23. */
  24. const PRE_DYNAMIC_MATCH_REQUEST = 'cmf_routing.pre_dynamic_match_request';
  25. }