public function __construct(InformationApi $informationApi, $apiKey, $decoratorName) { $this->info = $informationApi; $this->apiKey = $apiKey; $decoratorFactory = new Factory($decoratorName); $this->decorator = $decoratorFactory->getDecorator(); }
public function __construct($apiKey, $decoratorName, $https = false) { $this->apiKey = $apiKey; $this->job = new SdkModelJob(); $this->conversion = new SdkModelConversion(); $this->jobApi = new JobsApi(); $decoratorFactory = new FactoryDecorator($decoratorName); $this->decorator = $decoratorFactory->getDecorator(); $this->https = $https; }