PHP Interface Kraken\Stream\StreamBaseInterface

Show file Open project: kraken-php/framework

Public Methods

Method Description
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.

Method Details

close() public method

Close Stream and underlying resource object.
public close ( )

getMetadata() public method

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

getResource() public method

Return the wrapped resource.
public getResource ( ) : resource
return resource

getResourceId() public method

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

getStreamType() public method

Return type of stream.
public getStreamType ( ) : string
return string

getWrapperType() public method

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

isOpen() public method

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