Commit | Line | Data |
---|---|---|
44d399bc S |
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 | ||
10 | namespace Zend\Mvc; | |
11 | ||
12 | use Zend\EventManager\EventInterface as Event; | |
13 | ||
14 | interface InjectApplicationEventInterface | |
15 | { | |
16 | /** | |
17 | * Compose an Event | |
18 | * | |
19 | * @param Event $event | |
20 | * @return void | |
21 | */ | |
22 | public function setEvent(Event $event); | |
23 | ||
24 | /** | |
25 | * Retrieve the composed event | |
26 | * | |
27 | * @return Event | |
28 | */ | |
29 | public function getEvent(); | |
30 | } |