ClarinVCRObject
in package
Description of ClarinVCRObject
Tags
Table of Contents
Properties
- $clarinUrl : mixed
- $client : mixed
- $collectionName : mixed
- $data : mixed
- $form_params : mixed
- $header : mixed
Methods
- __construct() : mixed
- makeTheApiCall() : string
- checkHeaderRedirect() : string
- createFormParams() : void
- createHeader() : void
- setTheUrl() : void
- setupTheClient() : void
Properties
$clarinUrl
private
mixed
$clarinUrl
$client
private
mixed
$client
$collectionName
private
mixed
$collectionName
= "ArcheCollection"
$data
private
mixed
$data
$form_params
private
mixed
$form_params
$header
private
mixed
$header
= array()
Methods
__construct()
public
__construct(string $data) : mixed
Parameters
- $data : string
makeTheApiCall()
public
makeTheApiCall([bool $isTest = false ]) : string
Parameters
- $isTest : bool = false
Return values
stringcheckHeaderRedirect()
private
checkHeaderRedirect(Response &$request) : string
Parameters
- $request : Response
Return values
stringcreateFormParams()
private
createFormParams() : void
createHeader()
private
createHeader() : void
setTheUrl()
private
setTheUrl([bool $isTest = false ]) : void
Parameters
- $isTest : bool = false
setupTheClient()
private
setupTheClient() : void