PHP Class Zend\Diactoros\CallbackStream

Inheritance: implements Psr\Http\Message\StreamInterface
Afficher le fichier Open project: zendframework/zend-diactoros

Protected Properties

Свойство Type Description
$callback callable | null

Méthodes publiques

Méthode Description
__construct ( callable $callback )
__toString ( )
attach ( callable $callback ) Attach a new callback to the instance.
close ( )
detach ( )
eof ( )
getContents ( )
getMetadata ( $key = null )
getSize ( )
isReadable ( )
isSeekable ( )
isWritable ( )
read ( $length )
rewind ( )
seek ( $offset, $whence = SEEK_SET )
tell ( )
write ( $string )

Method Details

__construct() public méthode

public __construct ( callable $callback )
$callback callable

__toString() public méthode

public __toString ( )

attach() public méthode

Attach a new callback to the instance.
public attach ( callable $callback )
$callback callable

close() public méthode

public close ( )

detach() public méthode

public detach ( )

eof() public méthode

public eof ( )

getContents() public méthode

public getContents ( )

getMetadata() public méthode

public getMetadata ( $key = null )

getSize() public méthode

public getSize ( )

isReadable() public méthode

public isReadable ( )

isSeekable() public méthode

public isSeekable ( )

isWritable() public méthode

public isWritable ( )

read() public méthode

public read ( $length )

rewind() public méthode

public rewind ( )

seek() public méthode

public seek ( $offset, $whence = SEEK_SET )

tell() public méthode

public tell ( )

write() public méthode

public write ( $string )

Property Details

$callback protected_oe property

protected callable|null $callback
Résultat callable | null