HumHub Documentation (unofficial)

DecoratorTrait

Eases with writing decorators.

Tags
author

Nicolas Grekas p@tchwork.com

Table of Contents

Properties

$client  : mixed

Methods

__construct()  : mixed
request()  : ResponseInterface
{@inheritdoc}
reset()  : mixed
stream()  : ResponseStreamInterface
{@inheritdoc}
withOptions()  : self
{@inheritdoc}

Properties

Methods

request()

{@inheritdoc}

public request(string $method, string $url[, array<string|int, mixed> $options = [] ]) : ResponseInterface
Parameters
$method : string
$url : string
$options : array<string|int, mixed> = []
Return values
ResponseInterface

withOptions()

{@inheritdoc}

public withOptions(array<string|int, mixed> $options) : self
Parameters
$options : array<string|int, mixed>
Return values
self

        
On this page

Search results