FileAccess Orion

Reddit extends Request
in package
implements ServiceInterface

Class Reddit.

Interfaces, Classes, Traits and Enums

ServiceInterface
Interface ServiceInterface.

Table of Contents

$client  : ClientInterface
$config  : array<string|int, mixed>
__construct()  : mixed
extractCount()  : int
filterResponse()  : mixed
{@inheritdoc}
getName()  : string
getRequest()  : RequestInterface
setConfig()  : mixed
createRequest()  : RequestInterface

Properties

$config

protected array<string|int, mixed> $config

Methods

extractCount()

public extractCount(array<string|int, mixed> $data) : int
Parameters
$data : array<string|int, mixed>
Return values
int

filterResponse()

{@inheritdoc}

public filterResponse(mixed $content) : mixed
Parameters
$content : mixed
Return values
mixed

getName()

public getName() : string
Return values
string

setConfig()

public setConfig(array<string|int, mixed> $config) : mixed
Parameters
$config : array<string|int, mixed>
Return values
mixed

createRequest()

protected createRequest(string $url[, string $method = 'GET' ]) : RequestInterface
Parameters
$url : string
$method : string = 'GET'
Tags
deprecated

This method is not used anymore and will be removed with version 6. Use \GuzzleHttp\Psr7\Request directly instead

Return values
RequestInterface

Search results