TraceableEventDispatcherInterface.php 901 B

12345678910111213141516171819202122232425262728293031323334353637
  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. use Symfony\Contracts\Service\ResetInterface;
  13. /**
  14. * @deprecated since Symfony 4.1
  15. *
  16. * @author Fabien Potencier <fabien@symfony.com>
  17. */
  18. interface TraceableEventDispatcherInterface extends EventDispatcherInterface, ResetInterface
  19. {
  20. /**
  21. * Gets the called listeners.
  22. *
  23. * @return array An array of called listeners
  24. */
  25. public function getCalledListeners();
  26. /**
  27. * Gets the not called listeners.
  28. *
  29. * @return array An array of not called listeners
  30. */
  31. public function getNotCalledListeners();
  32. }