コード例 #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;
 }