Lines Matching refs:callable
217 Provides a read only stream that pumps data from a PHP callable.
219 When invoking the provided callable, the PumpStream will pass the amount of
220 data requested to read to the callable. The callable can choose to ignore
222 returned by the provided callable is buffered internally until drained using
223 the read() function of the PumpStream. The provided callable MUST return
249 public function __construct(StreamInterface $stream, callable $cb)
475 `public static function streamFor(resource|string|null|int|float|bool|StreamInterface|callable|\Ite…
499 - `callable` When a callable is passed, a read-only stream object will be
500 created that invokes the given callable. The callable is invoked with the
501 number of suggested bytes to read. The callable can return any number of
503 stream object that wraps the callable will invoke the callable until the