"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Http/CallbackStream.php" between
cakephp-4.0.1.tar.gz and cakephp-4.0.2.tar.gz

About: CakePHP is a rapid development framework for PHP applications. Source code.

CallbackStream.php  (cakephp-4.0.1):CallbackStream.php  (cakephp-4.0.2)
skipping to change at line 19 skipping to change at line 19
* For full copyright and license information, please see the LICENSE.txt * For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice. * Redistributions of files must retain the above copyright notice.
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoun dation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoun dation.org)
* @link https://cakephp.org CakePHP(tm) Project * @link https://cakephp.org CakePHP(tm) Project
* @since 3.3.4 * @since 3.3.4
* @license https://opensource.org/licenses/mit-license.php MIT License * @license https://opensource.org/licenses/mit-license.php MIT License
*/ */
namespace Cake\Http; namespace Cake\Http;
use Zend\Diactoros\CallbackStream as BaseCallbackStream; use Laminas\Diactoros\CallbackStream as BaseCallbackStream;
/** /**
* Implementation of PSR HTTP streams. * Implementation of PSR HTTP streams.
* *
* This differs from Zend\Diactoros\Callback stream in that * This differs from Laminas\Diactoros\Callback stream in that
* it allows the use of `echo` inside the callback, and gracefully * it allows the use of `echo` inside the callback, and gracefully
* handles the callback not returning a string. * handles the callback not returning a string.
* *
* Ideally we can amend/update diactoros, but we need to figure * Ideally we can amend/update diactoros, but we need to figure
* that out with the diactoros project. Until then we'll use this shim * that out with the diactoros project. Until then we'll use this shim
* to provide backwards compatibility with existing CakePHP apps. * to provide backwards compatibility with existing CakePHP apps.
* *
* @internal * @internal
*/ */
class CallbackStream extends BaseCallbackStream class CallbackStream extends BaseCallbackStream
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)