Class Stream
Data stream class (PSR-7).
- Kotchasan\Http\Stream implements Psr\Http\Message\StreamInterface
Namespace: Kotchasan\Http
Author: Goragod Wiriya admin@goragod.com
Since: 1.0
Located at Kotchasan/Http/Stream.php
Author: Goragod Wiriya admin@goragod.com
Since: 1.0
Located at Kotchasan/Http/Stream.php
public
|
|
public
string
|
|
public
|
|
public
resource|null
|
|
public
boolean
|
|
public
string
|
|
public
array|mixed|null
|
#
getMetadata( string $key = null )
อ่านข้อมูลประจำตัวของ stream array คืนค่าข้อมูลทั้งหมด ถ้าไม่ระบุ $key mixed คืนค่าข้อมูลจาก $key ที่กำหนด null ไม่พบ $key หรือไม่ใช่ stream. |
public
integer|null
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
string
|
|
public
|
|
public
|
|
public
integer
|
|
public
integer
|
protected
array
|
$meta
stream metadata. |
|
protected
boolean
|
$readable
stream readable. |
|
protected
boolean
|
$seekable
stream seekable. |
|
protected
null|integer
|
$size
stream size. |
|
protected
resource
|
$stream
stream resource. |
|
protected
boolean
|
$writable
stream writable. |