public function __construct($wsdlUrl, $fileDirectory) { $this->wsdlUrl = $wsdlUrl; $this->fileDirectory = $fileDirectory; FileHelper::ensureIsDirectory($fileDirectory); FileHelper::ensureIsWritable($fileDirectory); }