Lines Matching defs:stream

5  * Describes a stream instance.
10 * Attempts to seek to the beginning of the stream and reads all data into
11 * a string until the end of the stream is reached.
20 * Closes the stream and any underlying resources.
25 * Separates any underlying resources from the stream.
27 * After the underlying resource has been detached, the stream object is in
28 * an unusable state. If you wish to use a Stream object as a PHP stream
32 * @return resource|null Returns the underlying PHP stream resource or null
34 * stream resource.
39 * Replaces the underlying stream resource with the provided stream.
41 * Use this method to replace the underlying stream with another; as an
43 * would replace the original content-oriented stream with the file
44 * stream.
47 * when attach() is called, as the stream has changed.
49 * @param resource $stream
53 public function attach($stream);
56 * Get the size of the stream if known
70 * Returns true if the stream is at the end of the stream.
77 * Returns whether or not the stream is seekable
84 * Seek to a position in the stream
92 * SEEK_END: Set position to end-of-stream plus offset
100 * Returns whether or not the stream is writable
107 * Write data to the stream
111 * @return int|bool Returns the number of bytes written to the stream on
118 * Returns whether or not the stream is readable
125 * Read data from the stream
129 * underlying stream call returns fewer bytes.
131 * @return string Returns the data read from the stream.
136 * Returns the remaining contents of the stream as a string.
145 * Get stream metadata as an associative array or retrieve a specific key.
156 * @see http://php.net/manual/en/function.stream-get-meta-data.php