Beispiel #1
0
 public function __construct(ClientInterface $client = null, FactoryInterface $factory = null)
 {
     parent::__construct($client, $factory);
     $this->factory = $this->getMessageFactory();
 }
 public function __construct($baseUrl)
 {
     $this->baseUrl = $baseUrl;
     parent::__construct();
 }
 public function __construct(BatchClientInterface $client = null, FactoryInterface $factory = null)
 {
     parent::__construct($client ?: new MultiCurl(), $factory);
     $this->setListener(new BatchListenerChain());
 }