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\EventsCapableInterface; | |
13 | ||
14 | interface ApplicationInterface extends EventsCapableInterface | |
15 | { | |
16 | /** | |
17 | * Get the locator object | |
18 | * | |
19 | * @return \Zend\ServiceManager\ServiceLocatorInterface | |
20 | */ | |
21 | public function getServiceManager(); | |
22 | ||
23 | /** | |
24 | * Get the request object | |
25 | * | |
26 | * @return \Zend\Stdlib\RequestInterface | |
27 | */ | |
28 | public function getRequest(); | |
29 | ||
30 | /** | |
31 | * Get the response object | |
32 | * | |
33 | * @return \Zend\Stdlib\ResponseInterface | |
34 | */ | |
35 | public function getResponse(); | |
36 | ||
37 | /** | |
38 | * Run the application | |
39 | * | |
40 | * @return self | |
41 | */ | |
42 | public function run(); | |
43 | } |