PHP 인터페이스 Kraken\Stream\StreamBaseInterface

파일 보기 프로젝트 열기: kraken-php/framework

공개 메소드들

메소드 설명
close ( ) Close Stream and underlying resource object.
getMetadata ( ) : string[] Return array containg metadata of stream.
getResource ( ) : resource Return the wrapped resource.
getResourceId ( ) : integer Return file descriptor of wrapped resource.
getStreamType ( ) : string Return type of stream.
getWrapperType ( ) : string Return type of stream wrapper.
isOpen ( ) : boolean Check if stream is open.

메소드 상세

close() 공개 메소드

Close Stream and underlying resource object.
public close ( )

getMetadata() 공개 메소드

Return array containg metadata of stream.
public getMetadata ( ) : string[]
리턴 string[]

getResource() 공개 메소드

Return the wrapped resource.
public getResource ( ) : resource
리턴 resource

getResourceId() 공개 메소드

Return file descriptor of wrapped resource.
public getResourceId ( ) : integer
리턴 integer

getStreamType() 공개 메소드

Return type of stream.
public getStreamType ( ) : string
리턴 string

getWrapperType() 공개 메소드

Return type of stream wrapper.
public getWrapperType ( ) : string
리턴 string

isOpen() 공개 메소드

Check if stream is open.
public isOpen ( ) : boolean
리턴 boolean