Mercurial > hg > isophonics-drupal-site
comparison vendor/zendframework/zend-diactoros/src/Server.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 7a779792577d |
children |
comparison
equal
deleted
inserted
replaced
15:e200cb7efeb3 | 16:c2387f117808 |
---|---|
1 <?php | 1 <?php |
2 /** | 2 /** |
3 * @see https://github.com/zendframework/zend-diactoros for the canonical source repository | 3 * @see https://github.com/zendframework/zend-diactoros for the canonical source repository |
4 * @copyright Copyright (c) 2015-2017 Zend Technologies USA Inc. (http://www.zend.com) | 4 * @copyright Copyright (c) 2015-2018 Zend Technologies USA Inc. (http://www.zend.com) |
5 * @license https://github.com/zendframework/zend-diactoros/blob/master/LICENSE.md New BSD License | 5 * @license https://github.com/zendframework/zend-diactoros/blob/master/LICENSE.md New BSD License |
6 */ | 6 */ |
7 | 7 |
8 namespace Zend\Diactoros; | 8 namespace Zend\Diactoros; |
9 | 9 |
10 use OutOfBoundsException; | 10 use OutOfBoundsException; |
11 use Psr\Http\Message\ResponseInterface; | |
11 use Psr\Http\Message\ServerRequestInterface; | 12 use Psr\Http\Message\ServerRequestInterface; |
12 use Psr\Http\Message\ResponseInterface; | 13 |
14 use function property_exists; | |
13 | 15 |
14 /** | 16 /** |
15 * "Serve" incoming HTTP requests | 17 * "Serve" incoming HTTP requests |
16 * | 18 * |
17 * Given a callback, takes an incoming request, dispatches it to the | 19 * Given a callback, takes an incoming request, dispatches it to the |
18 * callback, and then sends a response. | 20 * callback, and then sends a response. |
21 * | |
22 * @deprecated since 1.8.0. We recommend using the `RequestHandlerRunner` class | |
23 * from the zendframework/zend-httphandlerrunner package instead. | |
19 */ | 24 */ |
20 class Server | 25 class Server |
21 { | 26 { |
22 /** | 27 /** |
23 * @var callable | 28 * @var callable |