Lines Matching refs:listeners
72 protected $listeners = array(); variable in Swift
112 if (!isset($this->listeners[$interface]))
113 $this->listeners[$interface] = array();
123 foreach (array_keys($this->listeners) as $key)
127 if ($plugin instanceof $listener) $this->listeners[$key][$id] = $plugin;
137 foreach ($this->listeners as $type => $arr)
139 if (isset($arr[$id])) return $this->listeners[$type][$id];
149 foreach ($this->listeners as $type => $arr)
153 $this->listeners[$type][$id] = null;
154 unset($this->listeners[$type][$id]);
166 …if (!empty($this->listeners[$type]) && $notifyMethod = Swift_Events_ListenerMapper::getNotifyMetho…
169 foreach ($this->listeners[$type] as $k => $listener)