PHP 클래스 Kraken\Stream\StreamSeeker

상속: extends Kraken\Event\BaseEventEmitter, implements Kraken\Stream\StreamSeekerInterface
파일 보기 프로젝트 열기: kraken-php/framework 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$autoClose boolean
$closing boolean
$resource resource

공개 메소드들

메소드 설명
__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 ( )

보호된 메소드들

메소드 설명
throwAndEmitException ( Erro\Error | Exceptio\Exception $ex ) : null Emit error event and the throws it too.

메소드 상세

__construct() 공개 메소드

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

__destruct() 공개 메소드

public __destruct ( )

close() 공개 메소드

public close ( )

getMetadata() 공개 메소드

public getMetadata ( )

getResource() 공개 메소드

public getResource ( )

getResourceId() 공개 메소드

public getResourceId ( )

getStreamType() 공개 메소드

public getStreamType ( )

getWrapperType() 공개 메소드

public getWrapperType ( )

handleClose() 공개 메소드

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

isOpen() 공개 메소드

public isOpen ( )

isSeekable() 공개 메소드

public isSeekable ( )

rewind() 공개 메소드

public rewind ( )

seek() 공개 메소드

public seek ( $offset, $whence = SEEK_SET )

tell() 공개 메소드

public tell ( )

throwAndEmitException() 보호된 메소드

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

프로퍼티 상세

$autoClose 보호되어 있는 프로퍼티

protected bool $autoClose
리턴 boolean

$closing 보호되어 있는 프로퍼티

protected bool $closing
리턴 boolean

$resource 보호되어 있는 프로퍼티

protected resource $resource
리턴 resource