Method | Description | |
---|---|---|
register ( ) : boolean | Registers protocol. | |
setContent ( string $content ) | Sets content. | |
stream_close ( ) : boolean | Closes file. | |
stream_eof ( ) : boolean | Determines if we have reached the end of the file. | |
stream_open ( string $path, string $mode, integer $options, string &$openedPath ) : boolean | Opens file. | |
stream_read ( integer $length ) : string | Reads from file. | |
stream_stat ( ) : array | Returns information about the file. | |
unregister ( ) : boolean | Unregisters protocol. |
public static setContent ( string $content ) | ||
$content | string | Content |
public stream_eof ( ) : boolean | ||
return | boolean |
public stream_read ( integer $length ) : string | ||
$length | integer | Read length |
return | string |
public stream_stat ( ) : array | ||
return | array |
public static unregister ( ) : boolean | ||
return | boolean |