Mercurial > hg > cmmr2012-drupal-site
comparison vendor/zendframework/zend-diactoros/src/RequestTrait.php @ 2:5311817fb629
Theme updates
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 13:19:18 +0000 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
1:0b0e5f3b1e83 | 2:5311817fb629 |
---|---|
1 <?php | 1 <?php |
2 /** | 2 /** |
3 * Zend Framework (http://framework.zend.com/) | 3 * @see https://github.com/zendframework/zend-diactoros for the canonical source repository |
4 * | 4 * @copyright Copyright (c) 2015-2017 Zend Technologies USA Inc. (http://www.zend.com) |
5 * @see http://github.com/zendframework/zend-diactoros for the canonical source repository | |
6 * @copyright Copyright (c) 2015-2016 Zend Technologies USA Inc. (http://www.zend.com) | |
7 * @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 |
8 */ | 6 */ |
9 | 7 |
10 namespace Zend\Diactoros; | 8 namespace Zend\Diactoros; |
11 | 9 |
12 use InvalidArgumentException; | 10 use InvalidArgumentException; |
13 use Psr\Http\Message\StreamInterface; | 11 use Psr\Http\Message\StreamInterface; |
14 use Psr\Http\Message\UriInterface; | 12 use Psr\Http\Message\UriInterface; |
13 | |
14 use function array_keys; | |
15 use function get_class; | |
16 use function gettype; | |
17 use function is_object; | |
18 use function is_string; | |
19 use function preg_match; | |
20 use function sprintf; | |
21 use function strtolower; | |
15 | 22 |
16 /** | 23 /** |
17 * Trait with common request behaviors. | 24 * Trait with common request behaviors. |
18 * | 25 * |
19 * Server and client-side requests differ slightly in how the Host header is | 26 * Server and client-side requests differ slightly in how the Host header is |