GuzzleRequestRepository
class GuzzleRequestRepository implements RequestRepository (View source)
Traits
Properties
protected ConfigRepository | $config | from ConfigTrait |
Methods
__construct($config, Client $client)
No description
mixed
Details
__construct($config, Client $client)
No description
string
getSiteId()
Retrieve Site ID from configuration
string
getPiwikUrl()
Retrieve Piwik URL from configuration
string
validateFormat(string $format)
Check format against allowed values
mixed
send(RequestOptions $requestOptions)
Send a request to the Piwik API