/** * @param string $instance */ public function __construct($instance) { parent::__construct(); $this->imagine = ImagineFactory::createInstance($instance); $this->instanceType = $instance; }
/** * @param ClientInterface $httpClient */ public function __construct(ClientInterface $httpClient) { parent::__construct(); $this->httpClient = $httpClient; }