public function __construct($service, $key, $cert) { $this->service = $service; $this->key = $key; $this->cert = $cert; $this->checkRequirements(); }