Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Zend
Diactoros
Stream
attach
Zend\Diactoros\Stream::attach PHP Method
Stream Class Documentation
Mostra file
Open project: zendframework/zend-diactoros
attach()
public
method
Attach a new stream/resource to the instance.
public
attach
(
string
| resource
$resource
,
string
$mode
= 'r' )
$resource
string
| resource
$mode
string
public function attach($resource, $mode = 'r') { $this->setStream($resource, $mode); }
Stream
__construct
__toString
attach
close
detach
eof
getContents
getMetadata
getSize
isReadable
isSeekable
isWritable
read
rewind
seek
setStream
tell
write