3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\EventManager
;
13 * Interface to automate setter injection for a SharedEventManagerInterface instance
15 interface SharedEventManagerAwareInterface
18 * Inject a SharedEventManager instance
20 * @param SharedEventManagerInterface $sharedEventManager
21 * @return SharedEventManagerAwareInterface
23 public function setSharedManager(SharedEventManagerInterface
$sharedEventManager);
26 * Get shared collections container
28 * @return SharedEventManagerInterface
30 public function getSharedManager();
33 * Remove any shared collections
37 public function unsetSharedManager();