You are here

public function HandlerStack::hasHandler in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/HandlerStack.php \GuzzleHttp\HandlerStack::hasHandler()

Returns true if the builder has a handler.

Return value

bool

File

vendor/guzzlehttp/guzzle/src/HandlerStack.php, line 119

Class

HandlerStack
Creates a composed Guzzle handler function by stacking middlewares on top of an HTTP handler function.

Namespace

GuzzleHttp

Code

public function hasHandler() {
  return (bool) $this->handler;
}