logger = $logger; } /** * Create a new Post.at SOAP API service from the given config array. * * @param array $soapConfig * * @throws PostAtException * * @return SoapService */ public function fromConfigArray(array $soapConfig): SoapService { $soapConfig = new Config($soapConfig); $client = new PostAtClient($soapConfig, $this->logger); return new SoapService($client); } }