public function append()
    {
        foreach (func_get_args() as $value) {
            if ($value instanceof ResponseInterface
                || $value instanceof \Exception
                || $value instanceof PromiseInterface
                || is_callable($value)
            ) {
                $this->queue[] = $value;
            } else {
                throw new \InvalidArgumentException('Expected a response or '
                    . 'exception. Found ' . \GuzzleHttp\describe_type($value));
            }
        }
    }
public function append()
    {
        foreach (func_get_args() as $value) {
            if ($value instanceof ResponseInterface
                || $value instanceof \Exception
                || $value instanceof PromiseInterface
                || is_callable($value)
            ) {
                $this->queue[] = $value;
            } else {
                throw new \InvalidArgumentException('Expected a response or '
                    . 'exception. Found ' . \GuzzleHttp\describe_type($value));
            }
        }
    }
public function append ( ) { foreach ( func_get_args ( ) as $ value ) { if ( $ value instanceof ResponseInterface || $ value instanceof \ Exception || $ value instanceof PromiseInterface || is_callable ( $ value ) ) { $ this -> queue [ ] = $ value ; } else { throw new \ InvalidArgumentException ( 'Expected a response or ' . 'exception. Found ' . \ GuzzleHttp \ describe_type ( $ value ) ) ; } } }
Adds one or more variadic requests, exceptions, callables, or promises
to the queue.
Adds one or more variadic requests exceptions callables or promises to the queue .