ClientFactory::__construct

public ClientFactory::__construct(HandlerStack $stack)

Constructs a new ClientFactory instance.

Parameters

\GuzzleHttp\HandlerStack $stack: The handler stack.

File

core/lib/Drupal/Core/Http/ClientFactory.php, line 28

Class

ClientFactory
Helper class to construct a HTTP client with Drupal specific config.

Namespace

Drupal\Core\Http

Code

public function __construct(HandlerStack $stack) {
  $this->stack = $stack;
}
doc_Drupal
2016-10-29 08:50:02
Comments
Leave a Comment

Please login to continue.