1<?php
2/**
3 * Zend Framework (http://framework.zend.com/)
4 *
5 * @link      http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license   http://framework.zend.com/license/new-bsd New BSD License
8 */
9
10namespace Zend\EventManager;
11
12/**
13 * Interface to automate setter injection for an EventManager instance
14 */
15interface EventManagerAwareInterface extends EventsCapableInterface
16{
17    /**
18     * Inject an EventManager instance
19     *
20     * @param  EventManagerInterface $eventManager
21     * @return void
22     */
23    public function setEventManager(EventManagerInterface $eventManager);
24}
25