open()
open(\Omega\Filesystem\Stream\StreamMode $mode) : bool
Opens the stream in the specified mode.
This method should initialize the stream for reading or writing based on the provided mode. If the stream is already open, it may need to be closed first.
Parameters
\Omega\Filesystem\Stream\StreamMode | $mode | The mode in which to open the stream. |
Returns
bool —TRUE on success, or FALSE on failure.