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