original_string: public function getHandlerStack(): HandlerStack
      {
          if ($this->handlerStack) {
              return $this->handlerStack;
          }
  
          $this->handlerStack = HandlerStack::create($this->getGuzzleHandler());
  
          foreach ($this->middlewares as $name => $middleware) {
              $this->handlerStack->push($middleware, $name);
          }
  
          return $this->handlerStack;
      }
code: public function getHandlerStack(): HandlerStack
      {
          if ($this->handlerStack) {
              return $this->handlerStack;
          }
  
          $this->handlerStack = HandlerStack::create($this->getGuzzleHandler());
  
          foreach ($this->middlewares as $name => $middleware) {
              $this->handlerStack->push($middleware, $name);
          }
  
          return $this->handlerStack;
      }
code_tokens: public function getHandlerStack ( ) : HandlerStack { if ( $ this -> handlerStack ) { return $ this -> handlerStack ; } $ this -> handlerStack = HandlerStack :: create ( $ this -> getGuzzleHandler ( ) ) ; foreach ( $ this -> middlewares as $ name => $ middleware ) { $ this -> handlerStack -> push ( $ middleware , $ name ) ; } return $ this -> handlerStack ; }
docstring: Build a handler stack.
  
  @return \GuzzleHttp\HandlerStack
docstring_tokens: Build a handler stack .