\Heise\Shariff\BackendPinterest

Class Pinterest.

Summary

Methods
Properties
Constants
__construct()
filterResponse()
setConfig()
getName()
getRequest()
extractCount()
No public properties found
No constants found
createRequest()
$client
$config
N/A
No private methods found
No private properties found
N/A

Properties

$client

$client :\GuzzleHttp\ClientInterface

Type

\GuzzleHttp\ClientInterface

$config

$config :array

Type

array

Methods

__construct()

__construct(\GuzzleHttp\ClientInterface  $client)

Parameters

\GuzzleHttp\ClientInterface $client

filterResponse()

filterResponse(  $content)

{@inheritdoc}

Parameters

$content

setConfig()

setConfig(array  $config)

Parameters

array $config

getName()

getName(): string

Returns

string

getRequest()

getRequest(string  $url): \Psr\Http\Message\RequestInterface

Parameters

string $url

Returns

\Psr\Http\Message\RequestInterface

extractCount()

extractCount(array  $data): integer

Parameters

array $data

Returns

integer

createRequest()

createRequest(string  $url,string  $method = 'GET'): \Psr\Http\Message\RequestInterface

Parameters

string $url
string $method

Returns

\Psr\Http\Message\RequestInterface