Debug\WrappedListener (Component\EventDispatcher)

Symfony\Component\EventDispatcher\Debug\WrappedListener

class WrappedListener

Methods

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

Details

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

Parameters

$listener
$name
Stopwatch $stopwatch
EventDispatcherInterface $dispatcher

public getWrappedListener()

public wasCalled()

public stoppedPropagation()

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

Parameters

Event $event
$eventName
EventDispatcherInterface $dispatcher

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/EventDispatcher/Debug/WrappedListener.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部