Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ class Stream

/**
* Opens the script file and converts markup.
*
* @return bool
*/
public function stream_open($path, $mode, $options, &$opened_path)
{
Expand Down Expand Up @@ -92,6 +94,8 @@ public function url_stat()

/**
* Reads from the stream.
*
* @return string|false
*/
public function stream_read($count)
{
Expand All @@ -103,6 +107,8 @@ public function stream_read($count)

/**
* Tells the current position in the stream.
*
* @return int
*/
public function stream_tell()
{
Expand All @@ -112,6 +118,8 @@ public function stream_tell()

/**
* Tells if we are at the end of the stream.
*
* @return bool
*/
public function stream_eof()
{
Expand All @@ -121,6 +129,8 @@ public function stream_eof()

/**
* Stream statistics.
*
* @return array
*/
public function stream_stat()
{
Expand All @@ -130,6 +140,8 @@ public function stream_stat()

/**
* Seek to a specific point in the stream.
*
* @return bool
*/
public function stream_seek($offset, $whence)
{
Expand Down

0 comments on commit 27bdfda

Please sign in to comment.