首页 > 后端开发 > php教程 > psr7的StreamInterface::getContents()应该是返回全部内容吗?

psr7的StreamInterface::getContents()应该是返回全部内容吗?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
发布: 2016-10-10 11:56:23
原创
1778 人浏览过

<code>/**
     * Returns the remaining contents in a string
     *
     * @return string
     * @throws \RuntimeException if unable to read or an error occurs while
     *     reading.
     */
    public function getContents();</code>
登录后复制
登录后复制

这里的 remaining contents 指的是不是当前位置之后的内容?

回复内容:

<code>/**
     * Returns the remaining contents in a string
     *
     * @return string
     * @throws \RuntimeException if unable to read or an error occurs while
     *     reading.
     */
    public function getContents();</code>
登录后复制
登录后复制

这里的 remaining contents 指的是不是当前位置之后的内容?

相关标签:
php
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
怎么学好php
来自于 1970-01-01 08:00:00
0
0
0
PHP扩展intl
来自于 1970-01-01 08:00:00
0
0
0
php数据获取?
来自于 1970-01-01 08:00:00
0
0
0
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板