PHP Class Kraken\Stream\Stream

Inheritance: extends StreamSeeker, implements StreamInterface
Afficher le fichier Open project: kraken-php/framework Class Usage Examples

Protected Properties

Свойство Type Description
$bufferSize integer
$readable boolean
$writable boolean

Méthodes publiques

Méthode Description
__construct ( resource $resource, boolean $autoClose = true )
__destruct ( )
close ( )
getBufferSize ( )
isReadable ( )
isWritable ( )
read ( $length = null )
setBufferSize ( $bufferSize )
write ( $text )

Method Details

__construct() public méthode

public __construct ( resource $resource, boolean $autoClose = true )
$resource resource
$autoClose boolean

__destruct() public méthode

public __destruct ( )

close() public méthode

public close ( )

getBufferSize() public méthode

public getBufferSize ( )

isReadable() public méthode

public isReadable ( )

isWritable() public méthode

public isWritable ( )

read() public méthode

public read ( $length = null )

setBufferSize() public méthode

public setBufferSize ( $bufferSize )

write() public méthode

public write ( $text )

Property Details

$bufferSize protected_oe property

protected int $bufferSize
Résultat integer

$readable protected_oe property

protected bool $readable
Résultat boolean

$writable protected_oe property

protected bool $writable
Résultat boolean