Util
in package
FinalYes
Table of Contents
Methods
- forwardEvents() : mixed
- pipe() : WritableStreamInterface
- Pipes all the data from the given $source into the $dest
Methods
forwardEvents()
public
static forwardEvents(mixed $source, mixed $target, array<string|int, mixed> $events) : mixed
Parameters
- $source : mixed
- $target : mixed
- $events : array<string|int, mixed>
pipe()
Pipes all the data from the given $source into the $dest
public
static pipe(ReadableStreamInterface $source, WritableStreamInterface $dest[, array<string|int, mixed> $options = array() ]) : WritableStreamInterface
Parameters
- $source : ReadableStreamInterface
- $dest : WritableStreamInterface
- $options : array<string|int, mixed> = array()
Tags
Return values
WritableStreamInterface —$dest stream as-is