TraceableEventDispatcherInterface.php 910B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  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\Component\EventDispatcher\Debug;
  11. use Symfony\Component\EventDispatcher\EventDispatcherInterface;
  12. /**
  13. * @deprecated since Symfony 4.1
  14. *
  15. * @author Fabien Potencier <fabien@symfony.com>
  16. */
  17. interface TraceableEventDispatcherInterface extends EventDispatcherInterface
  18. {
  19. /**
  20. * Gets the called listeners.
  21. *
  22. * @return array An array of called listeners
  23. */
  24. public function getCalledListeners();
  25. /**
  26. * Gets the not called listeners.
  27. *
  28. * @return array An array of not called listeners
  29. */
  30. public function getNotCalledListeners();
  31. /**
  32. * Resets the trace.
  33. */
  34. public function reset();
  35. }