PHP Class Kraken\Stream\StreamSeeker

Inheritance: extends Kraken\Event\BaseEventEmitter, implements Kraken\Stream\StreamSeekerInterface
Afficher le fichier Open project: kraken-php/framework Class Usage Examples

Protected Properties

Свойство Type Description
$autoClose boolean
$closing boolean
$resource resource

Méthodes publiques

Méthode Description
__construct ( resource $resource, boolean $autoClose = true )
__destruct ( )
close ( )
getMetadata ( )
getResource ( )
getResourceId ( )
getStreamType ( )
getWrapperType ( )
handleClose ( ) Handle the close of the stream object.
isOpen ( )
isSeekable ( )
rewind ( )
seek ( $offset, $whence = SEEK_SET )
tell ( )

Méthodes protégées

Méthode Description
throwAndEmitException ( Erro\Error | Exceptio\Exception $ex ) : null Emit error event and the throws it too.

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 ( )

getMetadata() public méthode

public getMetadata ( )

getResource() public méthode

public getResource ( )

getResourceId() public méthode

public getResourceId ( )

getStreamType() public méthode

public getStreamType ( )

getWrapperType() public méthode

public getWrapperType ( )

handleClose() public méthode

Handle the close of the stream object.
public handleClose ( )

isOpen() public méthode

public isOpen ( )

isSeekable() public méthode

public isSeekable ( )

rewind() public méthode

public rewind ( )

seek() public méthode

public seek ( $offset, $whence = SEEK_SET )

tell() public méthode

public tell ( )

throwAndEmitException() protected méthode

Emit error event and the throws it too.
protected throwAndEmitException ( Erro\Error | Exceptio\Exception $ex ) : null
$ex Erro\Error | Exceptio\Exception
Résultat null

Property Details

$autoClose protected_oe property

protected bool $autoClose
Résultat boolean

$closing protected_oe property

protected bool $closing
Résultat boolean

$resource protected_oe property

protected resource $resource
Résultat resource