comparison vendor/zendframework/zend-diactoros/src/Response/SapiEmitterTrait.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\Response; 8 namespace Zend\Diactoros\Response;
9 9
10 use Psr\Http\Message\ResponseInterface; 10 use Psr\Http\Message\ResponseInterface;
11 use RuntimeException; 11 use RuntimeException;
12 12
13 use function ob_get_length;
14 use function ob_get_level;
15 use function sprintf;
16 use function str_replace;
17 use function ucwords;
18
19 /**
20 * @deprecated since 1.8.0. The package zendframework/zend-httphandlerrunner
21 * now provides this functionality.
22 */
13 trait SapiEmitterTrait 23 trait SapiEmitterTrait
14 { 24 {
15 /** 25 /**
16 * Checks to see if content has previously been sent. 26 * Checks to see if content has previously been sent.
17 * 27 *