original_string: public function output($template, $data, $format = self::FORMAT_PDF, $name = null, array $params = [])
      {
          return $this->request(self::REQUEST_POST, 'templates/'.$template.'/output', array_merge([
              'data' => $data,
              'format' => $format,
              'name' => $name
          ], $params));
      }
code: public function output($template, $data, $format = self::FORMAT_PDF, $name = null, array $params = [])
      {
          return $this->request(self::REQUEST_POST, 'templates/'.$template.'/output', array_merge([
              'data' => $data,
              'format' => $format,
              'name' => $name
          ], $params));
      }
code_tokens: public function output ( $ template , $ data , $ format = self :: FORMAT_PDF , $ name = null , array $ params = [ ] ) { return $ this -> request ( self :: REQUEST_POST , 'templates/' . $ template . '/output' , array_merge ( [ 'data' => $ data , 'format' => $ format , 'name' => $ name ] , $ params ) ) ; }
docstring: Returns document as base64 encoded string for given template and data
  
  @param integer $template
  @param string|array|\stdClass $data
  @param string $format
  @param string $name
  @param array $params
  
  @return \stdClass
  @throws \ActualReports\PDFGeneratorAPI\Exception
docstring_tokens: Returns document as base64 encoded string for given template and data