W3cubDocs

/Symfony 4.1

WrappedListener

class WrappedListener

Methods

__construct($listener, $name, Stopwatch $stopwatch, EventDispatcherInterface $dispatcher = null)
getWrappedListener()
wasCalled()
stoppedPropagation()
getPretty()
getInfo($eventName)
__invoke(Event $event, $eventName, EventDispatcherInterface $dispatcher)

Details

__construct($listener, $name, Stopwatch $stopwatch, EventDispatcherInterface $dispatcher = null)

Parameters

$listener
$name
Stopwatch $stopwatch
EventDispatcherInterface $dispatcher

getWrappedListener()

wasCalled()

stoppedPropagation()

getPretty()

getInfo($eventName)

Parameters

$eventName

__invoke(Event $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

Event $event
$eventName
EventDispatcherInterface $dispatcher

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/EventDispatcher/Debug/WrappedListener.html