diff --git a/src/Event.php b/src/Event.php index e360d20..52ae188 100644 --- a/src/Event.php +++ b/src/Event.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -33,7 +33,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class Event implements EventDescription diff --git a/src/EventCollection.php b/src/EventCollection.php index 048ec4c..d1aaf0d 100644 --- a/src/EventCollection.php +++ b/src/EventCollection.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -30,7 +30,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ interface EventCollection diff --git a/src/EventDescription.php b/src/EventDescription.php index 670d496..426f86e 100644 --- a/src/EventDescription.php +++ b/src/EventDescription.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -28,7 +28,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ interface EventDescription diff --git a/src/EventManager.php b/src/EventManager.php index 456d88d..88b0db9 100644 --- a/src/EventManager.php +++ b/src/EventManager.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -38,7 +38,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class EventManager implements EventCollection @@ -122,8 +122,8 @@ public function getStaticConnections() } /** - * Get the identifier(s) for this EventManager - * + * Get the identifier(s) for this EventManager + * * @return array */ public function getIdentifiers() @@ -132,9 +132,9 @@ public function getIdentifiers() } /** - * Set the identifiers (overrides any currently set identifiers) - * - * @param string|int|array|Traversable $identifiers + * Set the identifiers (overrides any currently set identifiers) + * + * @param string|int|array|Traversable $identifiers * @return ModuleManager */ public function setIdentifiers($identifiers) @@ -148,9 +148,9 @@ public function setIdentifiers($identifiers) } /** - * Add some identifier(s) (appends to any currently set identifiers) - * - * @param string|int|array|Traversable $identifiers + * Add some identifier(s) (appends to any currently set identifiers) + * + * @param string|int|array|Traversable $identifiers * @return ModuleManager */ public function addIdentifiers($identifiers) @@ -171,7 +171,7 @@ public function addIdentifiers($identifiers) * @param string $event * @param string|object $target Object calling emit, or symbol describing target (such as static method name) * @param array|ArrayAccess $argv Array of arguments; typically, should be associative - * @param null|callback $callback + * @param null|callback $callback * @return ResponseCollection All listener return values */ public function trigger($event, $target = null, $argv = array(), $callback = null) @@ -195,10 +195,8 @@ public function trigger($event, $target = null, $argv = array(), $callback = nul $e->setParams($argv); } - if (!$callback) { - $callback = function() { - return false; - }; + if ($callback && !is_callable($callback)) { + throw new InvalidCallbackException('Invalid callback provided'); } return $this->triggerListeners($event, $e, $callback); @@ -377,29 +375,35 @@ public function prepareArgs(array $args) /** * Trigger listeners * - * Actual functionality for triggering listeners, to which both trigger() and triggerUntil() + * Actual functionality for triggering listeners, to which both trigger() and triggerUntil() * delegate. - * - * @param string $event Event name - * @param EventDescription $e - * @param callback $callback + * + * @param string $event Event name + * @param EventDescription $e + * @param null|callback $callback * @return ResponseCollection */ - protected function triggerListeners($event, EventDescription $e, $callback) + protected function triggerListeners($event, EventDescription $e, $callback = null) { $responses = new ResponseCollection; - - $listeners = clone $this->getListeners($event); - foreach ($this->getStaticListeners($event) as $listener) { - $priority = $listener->getOption('priority'); - if (null === $priority) { - $priority = 1; - } elseif (is_array($priority)) { - // If we have an array, likely using PriorityQueue. Grab first - // element of the array, as that's the actual priority. - $priority = array_shift($priority); + $listeners = $this->getListeners($event); + + // add static listeners to the list of listeners + // but don't modify the listeners object + $staticListeners = $this->getStaticListeners($event); + if (count($staticListeners)) { + $listeners = clone $listeners; + foreach ($staticListeners as $listener) { + $priority = $listener->getOption('priority'); + if (null === $priority) { + $priority = 1; + } elseif (is_array($priority)) { + // If we have an array, likely using PriorityQueue. Grab first + // element of the array, as that's the actual priority. + $priority = array_shift($priority); + } + $listeners->insert($listener, $priority); } - $listeners->insert($listener, $priority); } if ($listeners->isEmpty()) { @@ -413,7 +417,7 @@ protected function triggerListeners($event, EventDescription $e, $callback) continue; } - // Trigger the listener's callback, and push its result onto the + // Trigger the listener's callback, and push its result onto the // response collection $responses->push(call_user_func($listener->getCallback(), $e)); @@ -423,9 +427,9 @@ protected function triggerListeners($event, EventDescription $e, $callback) break; } - // If the result causes our validation callback to return true, + // If the result causes our validation callback to return true, // stop propagation - if (call_user_func($callback, $responses->last())) { + if ($callback && call_user_func($callback, $responses->last())) { $responses->setStopped(true); break; } @@ -435,10 +439,10 @@ protected function triggerListeners($event, EventDescription $e, $callback) } /** - * Get list of all listeners attached to the static collection for + * Get list of all listeners attached to the static collection for * identifiers registered by this instance - * - * @param string $event + * + * @param string $event * @return array */ protected function getStaticListeners($event) diff --git a/src/Exception.php b/src/Exception.php index 6e85e67..4c60821 100644 --- a/src/Exception.php +++ b/src/Exception.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -28,7 +28,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ interface Exception diff --git a/src/Exception/InvalidArgumentException.php b/src/Exception/InvalidArgumentException.php index affca38..c256c68 100644 --- a/src/Exception/InvalidArgumentException.php +++ b/src/Exception/InvalidArgumentException.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -30,7 +30,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class InvalidArgumentException diff --git a/src/Filter.php b/src/Filter.php index c4dbd1a..26357b2 100644 --- a/src/Filter.php +++ b/src/Filter.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -30,7 +30,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ interface Filter diff --git a/src/Filter/FilterIterator.php b/src/Filter/FilterIterator.php index 238da09..ac087c1 100644 --- a/src/Filter/FilterIterator.php +++ b/src/Filter/FilterIterator.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -34,7 +34,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class FilterIterator extends SplPriorityQueue diff --git a/src/FilterChain.php b/src/FilterChain.php index e4a5f54..382fc02 100644 --- a/src/FilterChain.php +++ b/src/FilterChain.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -31,7 +31,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class FilterChain implements Filter diff --git a/src/GlobalEventManager.php b/src/GlobalEventManager.php index b233cf1..32561fe 100644 --- a/src/GlobalEventManager.php +++ b/src/GlobalEventManager.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -35,7 +35,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class GlobalEventManager diff --git a/src/ListenerAggregate.php b/src/ListenerAggregate.php index 28e3d97..884caa4 100644 --- a/src/ListenerAggregate.php +++ b/src/ListenerAggregate.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -33,7 +33,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ interface ListenerAggregate diff --git a/src/ProvidesEvents.php b/src/ProvidesEvents.php index 6420679..05ec83f 100644 --- a/src/ProvidesEvents.php +++ b/src/ProvidesEvents.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -30,7 +30,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ trait ProvidesEvents diff --git a/src/ResponseCollection.php b/src/ResponseCollection.php index 5c373f9..5ec72fd 100644 --- a/src/ResponseCollection.php +++ b/src/ResponseCollection.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -30,7 +30,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class ResponseCollection extends SplStack diff --git a/src/StaticEventCollection.php b/src/StaticEventCollection.php index 219622c..8d504d4 100644 --- a/src/StaticEventCollection.php +++ b/src/StaticEventCollection.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -28,7 +28,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ interface StaticEventCollection diff --git a/src/StaticEventManager.php b/src/StaticEventManager.php index c32819b..88841e3 100644 --- a/src/StaticEventManager.php +++ b/src/StaticEventManager.php @@ -14,7 +14,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -30,7 +30,7 @@ * * @category Zend * @package Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class StaticEventManager implements StaticEventCollection diff --git a/test/EventManagerTest.php b/test/EventManagerTest.php index ceb95bf..ec89269 100644 --- a/test/EventManagerTest.php +++ b/test/EventManagerTest.php @@ -15,7 +15,7 @@ * @category Zend * @package Zend_EventManager * @subpackage UnitTests - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -32,7 +32,7 @@ * @package Zend_EventManager * @subpackage UnitTests * @group Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class EventManagerTest extends \PHPUnit_Framework_TestCase diff --git a/test/FilterChainTest.php b/test/FilterChainTest.php index 804a963..653aedd 100644 --- a/test/FilterChainTest.php +++ b/test/FilterChainTest.php @@ -15,7 +15,7 @@ * @category Zend * @package Zend_Stdlib * @subpackage UnitTests - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @version $Id:$ */ @@ -29,7 +29,7 @@ * @package Zend_Stdlib * @subpackage UnitTests * @group Zend_Stdlib - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class FilterChainTest extends \PHPUnit_Framework_TestCase diff --git a/test/GlobalEventManagerTest.php b/test/GlobalEventManagerTest.php index 85e5f21..cf0933d 100644 --- a/test/GlobalEventManagerTest.php +++ b/test/GlobalEventManagerTest.php @@ -15,7 +15,7 @@ * @category Zend * @package Zend_EventManager * @subpackage UnitTests - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -28,7 +28,7 @@ * @package Zend_EventManager * @subpackage UnitTests * @group Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class GlobalEventManagerTest extends \PHPUnit_Framework_TestCase diff --git a/test/StaticEventManagerTest.php b/test/StaticEventManagerTest.php index b88389b..d9b3b30 100644 --- a/test/StaticEventManagerTest.php +++ b/test/StaticEventManagerTest.php @@ -15,7 +15,7 @@ * @category Zend * @package Zend_EventManager * @subpackage UnitTests - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -29,7 +29,7 @@ * @package Zend_EventManager * @subpackage UnitTests * @group Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class StaticEventManagerTest extends TestCase diff --git a/test/StaticIntegrationTest.php b/test/StaticIntegrationTest.php index 0735264..7093fbe 100644 --- a/test/StaticIntegrationTest.php +++ b/test/StaticIntegrationTest.php @@ -15,7 +15,7 @@ * @category Zend * @package Zend_EventManager * @subpackage UnitTests - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -30,7 +30,7 @@ * @package Zend_EventManager * @subpackage UnitTests * @group Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class StaticIntegrationTest extends TestCase diff --git a/test/TestAsset/ClassWithEvents.php b/test/TestAsset/ClassWithEvents.php index 12fa1f8..590bebe 100644 --- a/test/TestAsset/ClassWithEvents.php +++ b/test/TestAsset/ClassWithEvents.php @@ -15,7 +15,7 @@ * @category Zend * @package Zend_EventManager * @subpackage UnitTests - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -29,7 +29,7 @@ * @package Zend_EventManager * @subpackage UnitTests * @group Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class ClassWithEvents diff --git a/test/TestAsset/MockAggregate.php b/test/TestAsset/MockAggregate.php index 2de0338..c0b8776 100644 --- a/test/TestAsset/MockAggregate.php +++ b/test/TestAsset/MockAggregate.php @@ -15,7 +15,7 @@ * @category Zend * @package Zend_EventManager * @subpackage UnitTests - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -29,7 +29,7 @@ * @package Zend_EventManager * @subpackage UnitTests * @group Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class MockAggregate implements ListenerAggregate diff --git a/test/TestAsset/StaticEventsMock.php b/test/TestAsset/StaticEventsMock.php index c27433e..cdf53eb 100644 --- a/test/TestAsset/StaticEventsMock.php +++ b/test/TestAsset/StaticEventsMock.php @@ -15,7 +15,7 @@ * @category Zend * @package Zend_EventManager * @subpackage UnitTests - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ @@ -28,7 +28,7 @@ * @package Zend_EventManager * @subpackage UnitTests * @group Zend_EventManager - * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class StaticEventsMock implements StaticEventCollection