Piwik\API\ResponseBuilder::__construct PHP Method

__construct() public method

public __construct ( string $outputFormat, array $request = [] )
$outputFormat string
$request array
    public function __construct($outputFormat, $request = array())
    {
        $this->outputFormat = $outputFormat;
        $this->request = $request;
        $this->apiRenderer = ApiRenderer::factory($outputFormat, $request);
    }