[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Zend Framework (http://framework.zend.com/) 4 * 5 * @link http://github.com/zendframework/zend-eventmanager for the canonical source repository 6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 7 * @license https://github.com/zendframework/zend-eventmanager/blob/master/LICENSE.md 8 */ 9 10 namespace Zend\EventManager; 11 12 /** 13 * Abstract aggregate listener 14 */ 15 abstract class AbstractListenerAggregate implements ListenerAggregateInterface 16 { 17 /** 18 * @var callable[] 19 */ 20 protected $listeners = []; 21 22 /** 23 * {@inheritDoc} 24 */ 25 public function detach(EventManagerInterface $events) 26 { 27 foreach ($this->listeners as $index => $callback) { 28 $events->detach($callback); 29 unset($this->listeners[$index]); 30 } 31 } 32 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |