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