TraceableEventDispatcherInterface.php 843 B

123456789101112131415161718192021222324252627282930313233343536
  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. * @author Fabien Potencier <fabien@symfony.com>
  14. *
  15. * @method reset() Resets the trace.
  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. }