ResourceStream
in
Table of Contents
Methods
- getResource() : resource|object|null
- reference() : void
- References the underlying watcher, so the loop keeps running in case there's an active stream operation.
- unreference() : void
- Unreferences the underlying watcher, so the loop doesn't keep running even if there are active stream operations.
Methods
getResource()
public
getResource() : resource|object|null
Return values
resource|object|null —Stream resource (or object if PHP switches to object-based streams).
reference()
References the underlying watcher, so the loop keeps running in case there's an active stream operation.
public
reference() : void
Tags
unreference()
Unreferences the underlying watcher, so the loop doesn't keep running even if there are active stream operations.
public
unreference() : void