/** * @param $privateCertPfx * @param $privateCertPass * @param bool $productionMode * @throws Exception if there are problems with certificate loading */ public function __construct($privateCertPfx, $privateCertPass, $productionMode = FALSE) { $this->cert = new Certificate(); $this->cert->loadFile($privateCertPfx, $privateCertPass); $this->cis = new CIS_Service(); if ($productionMode) { $this->setProductionMode(); } }